Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.005106/0.005107, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001335/0.001335, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 278.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 103.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1712, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006056/0.1773, allocations: 4.434 MB / 0.7703 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1803, allocations: 2.683 MB / 0.7729 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.1804, allocations: 4 kB / 0.7729 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1807, allocations: 51.67 kB / 0.7729 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1809, allocations: 95.34 kB / 0.773 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.182, allocations: 498.1 kB / 0.7735 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1823, allocations: 239.9 kB / 0.7737 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.1823, allocations: 13.55 kB / 0.7738 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/0.1833, allocations: 423.1 kB / 0.7742 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1834, allocations: 91.55 kB / 0.7742 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1834, allocations: 8 kB / 0.7743 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3148/0.4983, allocations: 481.8 kB / 0.7747 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4984, allocations: 36.91 kB / 0.7747 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.4986, allocations: 81.89 kB / 0.7748 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007883/0.4994, allocations: 347.3 kB / 0.7752 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4994, allocations: 5.219 kB / 0.7752 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4994, allocations: 2.734 kB / 0.7752 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4994, allocations: 0.7812 kB / 0.7752 GB, free: 8.977 MB / 0.5606 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.0006362/0.5, allocations: 0.5019 MB / 0.7757 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5001, allocations: 9.188 kB / 0.7757 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.5001, allocations: 51.59 kB / 0.7757 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.5003, allocations: 25.91 kB / 0.7757 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.5005, allocations: 211.7 kB / 0.7759 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.5005, allocations: 12.56 kB / 0.7759 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.5006, allocations: 17.81 kB / 0.776 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.5009, allocations: 252 kB / 0.7762 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.501, allocations: 1 kB / 0.7762 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.501, allocations: 7.469 kB / 0.7762 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.501, allocations: 9.984 kB / 0.7762 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.5016, allocations: 429.1 kB / 0.7766 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.5025, allocations: 1.01 MB / 0.7776 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.5028, allocations: 162.5 kB / 0.7778 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.5029, allocations: 68.08 kB / 0.7778 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.5041, allocations: 1.817 MB / 0.7796 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5042, allocations: 38.62 kB / 0.7797 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.5042, allocations: 0 / 0.7797 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003377/0.5045, allocations: 144.9 kB / 0.7798 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5046, allocations: 62.16 kB / 0.7798 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5048, allocations: 170.8 kB / 0.78 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.5048, allocations: 32.73 kB / 0.78 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.5049, allocations: 143.6 kB / 0.7802 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.5049, allocations: 52.62 kB / 0.7802 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.505, allocations: 52.97 kB / 0.7803 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5051, allocations: 326.2 kB / 0.7806 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.5052, allocations: 38.92 kB / 0.7806 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.5053, allocations: 146.6 kB / 0.7808 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5055, allocations: 200.5 kB / 0.781 GB, free: 20.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5055, allocations: 2.094 kB / 0.781 GB, free: 20.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003137/0.5059, allocations: 214.6 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5059, allocations: 8.438 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5059, allocations: 4.172 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5059, allocations: 4.969 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.5061, allocations: 59.08 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5061, allocations: 8.391 kB / 0.7812 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.5063, allocations: 25.61 kB / 0.7813 GB, free: 20.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.5063, allocations: 15.14 kB / 0.7813 GB, free: 20.29 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.5064, allocations: 132.9 kB / 0.7814 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.5065, allocations: 22.47 kB / 0.7814 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.5068, allocations: 154.1 kB / 0.7816 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5068, allocations: 6.75 kB / 0.7816 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5068, allocations: 0.6562 kB / 0.7816 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5068, allocations: 3.453 kB / 0.7816 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.5071, allocations: 210.6 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5071, allocations: 5.312 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.657e-05/0.5072, allocations: 26.55 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5072, allocations: 1.031 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5072, allocations: 9.859 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5072, allocations: 4.688 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5072, allocations: 2.359 kB / 0.7818 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.5075, allocations: 217.5 kB / 0.782 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5076, allocations: 109.4 kB / 0.7822 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.5076, allocations: 7.672 kB / 0.7822 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5079, allocations: 22.31 kB / 0.7822 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.5079, allocations: 13.33 kB / 0.7822 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.5079, allocations: 11.52 kB / 0.7822 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001031/0.508, allocations: 122.1 kB / 0.7823 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.508, allocations: 1.531 kB / 0.7823 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005149/0.5086, allocations: 77.12 kB / 0.7824 GB, free: 19.59 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007918/0.5094, allocations: 0.8287 MB / 0.7832 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.5096, allocations: 120.2 kB / 0.7833 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5096, allocations: 1.75 kB / 0.7833 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.5097, allocations: 46.23 kB / 0.7834 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.5102, allocations: 61.58 kB / 0.7834 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.5124, allocations: 2.046 MB / 0.7854 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.5129, allocations: 0.7111 MB / 0.7861 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.513, allocations: 54.23 kB / 0.7862 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.5131, allocations: 44.55 kB / 0.7862 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5131, allocations: 0 / 0.7862 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.5395, allocations: 5.195 MB / 0.7913 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.433, allocations: 9.438 kB / 0.7913 GB, free: 16.02 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)