Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001196/0.001196, allocations: 100.3 kB / 16.4 MB, free: 6.484 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.00107/0.00107, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.778/1.778, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8207/0.8207, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.45 kB / 0.5572 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.006985/0.1787, allocations: 4.411 MB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.1821, allocations: 2.698 MB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1822, allocations: 0 / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1827, allocations: 47.67 kB / 0.6386 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.1831, allocations: 99.36 kB / 0.6387 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1845, allocations: 0.4911 MB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.1847, allocations: 231.9 kB / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1848, allocations: 9.562 kB / 0.6394 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009441/0.1858, allocations: 414.8 kB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1859, allocations: 87.67 kB / 0.6399 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1859, allocations: 11.94 kB / 0.6399 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.187, allocations: 0.4901 MB / 0.6404 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1871, allocations: 43.83 kB / 0.6404 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.1872, allocations: 79.66 kB / 0.6405 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1877, allocations: 347.9 kB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1878, allocations: 0 / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1878, allocations: 0 / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1878, allocations: 0 / 0.6408 GB, free: 11.41 MB / 494.1 MB 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.0007474/0.1885, allocations: 0.4915 MB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1886, allocations: 8.031 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.1886, allocations: 66.59 kB / 0.6414 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1888, allocations: 20.75 kB / 0.6414 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1891, allocations: 216 kB / 0.6416 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1891, allocations: 12.69 kB / 0.6416 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1891, allocations: 20.38 kB / 0.6416 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1895, allocations: 244.9 kB / 0.6419 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1895, allocations: 0 / 0.6419 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1895, allocations: 12 kB / 0.6419 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.1896, allocations: 4 kB / 0.6419 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.19, allocations: 435.5 kB / 0.6423 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1911, allocations: 0.9998 MB / 0.6433 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1914, allocations: 156.2 kB / 0.6434 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1915, allocations: 67.94 kB / 0.6435 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.1928, allocations: 1.825 MB / 0.6453 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1928, allocations: 42.5 kB / 0.6453 GB, free: 6.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1928, allocations: 0 / 0.6453 GB, free: 6.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003439/0.1932, allocations: 147.6 kB / 0.6455 GB, free: 6.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1932, allocations: 55.41 kB / 0.6455 GB, free: 6.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1934, allocations: 168.8 kB / 0.6457 GB, free: 5.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1934, allocations: 33.7 kB / 0.6457 GB, free: 5.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.1935, allocations: 147.8 kB / 0.6458 GB, free: 5.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1935, allocations: 47.3 kB / 0.6459 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.1936, allocations: 53.61 kB / 0.6459 GB, free: 5.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1937, allocations: 326.8 kB / 0.6462 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1938, allocations: 39.97 kB / 0.6463 GB, free: 5.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.194, allocations: 142.2 kB / 0.6464 GB, free: 4.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1942, allocations: 196.2 kB / 0.6466 GB, free: 4.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1942, allocations: 0 / 0.6466 GB, free: 4.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003198/0.1945, allocations: 221.2 kB / 0.6468 GB, free: 4.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1946, allocations: 11.94 kB / 0.6468 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1946, allocations: 0 / 0.6468 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1946, allocations: 11.94 kB / 0.6468 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1948, allocations: 51.92 kB / 0.6469 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1948, allocations: 7.984 kB / 0.6469 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1949, allocations: 23.75 kB / 0.6469 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1949, allocations: 12 kB / 0.6469 GB, free: 4.402 MB / 494.1 MB 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.0001111/0.195, allocations: 138 kB / 0.6471 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.1951, allocations: 11.91 kB / 0.6471 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.1954, allocations: 162.8 kB / 0.6472 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.1954, allocations: 7.922 kB / 0.6472 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1955, allocations: 0 / 0.6472 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1955, allocations: 4 kB / 0.6472 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1957, allocations: 213.5 kB / 0.6474 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1957, allocations: 3.984 kB / 0.6475 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.1958, allocations: 19.98 kB / 0.6475 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1958, allocations: 8 kB / 0.6475 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1959, allocations: 7.984 kB / 0.6475 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1959, allocations: 3.938 kB / 0.6475 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1959, allocations: 4 kB / 0.6475 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1961, allocations: 221.5 kB / 0.6477 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1962, allocations: 108.8 kB / 0.6478 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1963, allocations: 0 / 0.6478 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1965, allocations: 23.92 kB / 0.6478 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1965, allocations: 7.984 kB / 0.6478 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1965, allocations: 15.98 kB / 0.6479 GB, free: 3.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.1966, allocations: 121.6 kB / 0.648 GB, free: 3.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1966, allocations: 3.938 kB / 0.648 GB, free: 3.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.1971, allocations: 68 kB / 0.648 GB, free: 3.172 MB / 494.1 MB 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.0006861/0.1978, allocations: 0.8254 MB / 0.6488 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1981, allocations: 122.2 kB / 0.649 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1981, allocations: 4.938 kB / 0.649 GB, free: 2.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.1981, allocations: 47.91 kB / 0.649 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1986, allocations: 57.61 kB / 0.6491 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2014, allocations: 2.046 MB / 0.6511 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2017, allocations: 0.7089 MB / 0.6518 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.2019, allocations: 57.61 kB / 0.6518 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.202, allocations: 51.41 kB / 0.6519 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.202, allocations: 0 / 0.6519 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.2288, allocations: 5.223 MB / 0.657 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/12.91, allocations: 6 kB / 0.657 GB, free: 9.934 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)