Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008102, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008459/0.000846, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.536/2.536, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 15.88 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7656, allocations: 146.8 MB / 0.9811 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01746/0.7831, allocations: 12.01 MB / 0.9929 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.7863, allocations: 2.455 MB / 0.9953 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.7865, allocations: 0 / 0.9953 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.7868, allocations: 43.73 kB / 0.9953 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.7872, allocations: 83.5 kB / 0.9954 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.7887, allocations: 411.6 kB / 0.9958 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.7891, allocations: 267.9 kB / 0.996 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 6.494e-05/0.7891, allocations: 9.562 kB / 0.996 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.7995, allocations: 4.375 MB / 1 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.7999, allocations: 91.66 kB / 1 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.7999, allocations: 8 kB / 1 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.8036, allocations: 0.9387 MB / 1.001 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.8038, allocations: 39.89 kB / 1.001 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.8039, allocations: 53.64 kB / 1.001 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007274/0.8047, allocations: 223.5 kB / 1.002 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8047, allocations: 0 / 1.002 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8047, allocations: 0 / 1.002 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8047, allocations: 4 kB / 1.002 GB, free: 1.285 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009395/0.8057, allocations: 475.1 kB / 1.002 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.8057, allocations: 12.03 kB / 1.002 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.8058, allocations: 46.55 kB / 1.002 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.806, allocations: 35.73 kB / 1.002 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.8063, allocations: 218.8 kB / 1.002 GB, free: 428 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.8064, allocations: 8.328 kB / 1.002 GB, free: 420 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.8064, allocations: 16 kB / 1.002 GB, free: 404 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.8068, allocations: 240.1 kB / 1.003 GB, free: 144 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8069, allocations: 0 / 1.003 GB, free: 144 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.8069, allocations: 8 kB / 1.003 GB, free: 136 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.8069, allocations: 8 kB / 1.003 GB, free: 128 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.8075, allocations: 431.3 kB / 1.003 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.8092, allocations: 0.9721 MB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.8096, allocations: 152.6 kB / 1.004 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.8097, allocations: 56.89 kB / 1.004 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.8114, allocations: 1.837 MB / 1.006 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.8115, allocations: 38.5 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 3.437e-06/0.8115, allocations: 7.984 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0003493/0.8118, allocations: 142.5 kB / 1.006 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8119, allocations: 51.41 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.8121, allocations: 167.3 kB / 1.006 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.8121, allocations: 29.7 kB / 1.006 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.8123, allocations: 151.8 kB / 1.007 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.8123, allocations: 51.27 kB / 1.007 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.8123, allocations: 4 kB / 1.007 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8125, allocations: 326.8 kB / 1.007 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.8126, allocations: 31.98 kB / 1.007 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.8127, allocations: 149.6 kB / 1.007 GB, free: 11 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.8129, allocations: 54.05 kB / 1.007 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8129, allocations: 0 / 1.007 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004079/0.8133, allocations: 217.2 kB / 1.007 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8133, allocations: 7.938 kB / 1.007 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8133, allocations: 4 kB / 1.007 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.8134, allocations: 8 kB / 1.007 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.8136, allocations: 47.92 kB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.8136, allocations: 15.88 kB / 1.007 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.8137, allocations: 27.69 kB / 1.007 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.8138, allocations: 16.38 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.8139, allocations: 133.7 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.814, allocations: 11.91 kB / 1.008 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.8143, allocations: 158.8 kB / 1.008 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.8144, allocations: 3.984 kB / 1.008 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8144, allocations: 0 / 1.008 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8144, allocations: 3.953 kB / 1.008 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.8147, allocations: 217.5 kB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8147, allocations: 7.984 kB / 1.008 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.8148, allocations: 23.94 kB / 1.008 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8148, allocations: 4 kB / 1.008 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.8148, allocations: 3.984 kB / 1.008 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8148, allocations: 0 / 1.008 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8149, allocations: 0 / 1.008 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.8151, allocations: 225 kB / 1.008 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8152, allocations: 112.8 kB / 1.008 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.8153, allocations: 8 kB / 1.008 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.8155, allocations: 19.98 kB / 1.008 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.8155, allocations: 15.92 kB / 1.008 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.8155, allocations: 12 kB / 1.008 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 9.886e-05/0.8156, allocations: 116.9 kB / 1.009 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8156, allocations: 0 / 1.009 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004249/0.8161, allocations: 75.98 kB / 1.009 GB, free: 9.371 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008303/0.8169, allocations: 0.8362 MB / 1.009 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.8172, allocations: 119.8 kB / 1.01 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8172, allocations: 0 / 1.01 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 6.637e-05/0.8173, allocations: 43.92 kB / 1.01 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.8178, allocations: 59.59 kB / 1.01 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.8195, allocations: 1.014 MB / 1.011 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.8201, allocations: 0.7172 MB / 1.011 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002742/0.8204, allocations: 49.67 kB / 1.011 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.8205, allocations: 55.42 kB / 1.011 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of SimCode: time 7.62e-07/0.8205, allocations: 0 / 1.011 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.8402, allocations: 5.009 MB / 1.016 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8404, allocations: 207.2 kB / 1.016 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.742, allocations: 0 / 1.016 GB, free: 1.281 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat