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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001132/0.001132, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.195/1.195, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 274.5 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8361/0.8361, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 98.47 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1231, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005107/0.1283, allocations: 4.451 MB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1306, allocations: 2.683 MB / 0.6867 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.1307, allocations: 0 / 0.6867 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1309, allocations: 43.73 kB / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1311, allocations: 91.48 kB / 0.6868 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.1321, allocations: 457.1 kB / 0.6873 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1323, allocations: 235.9 kB / 0.6875 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.601e-05/0.1323, allocations: 9.562 kB / 0.6875 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.133, allocations: 419 kB / 0.6879 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.1331, allocations: 95.58 kB / 0.688 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1331, allocations: 8 kB / 0.688 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.1339, allocations: 499 kB / 0.6885 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.134, allocations: 31.91 kB / 0.6885 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.134, allocations: 75.66 kB / 0.6886 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1345, allocations: 363.1 kB / 0.6889 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.1345, allocations: 0 / 0.6889 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.1345, allocations: 0 / 0.6889 GB, free: 7.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1345, allocations: 3.938 kB / 0.6889 GB, free: 7.539 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.0005007/0.135, allocations: 0.4992 MB / 0.6894 GB, free: 6.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.1351, allocations: 8.031 kB / 0.6894 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.1351, allocations: 54.73 kB / 0.6895 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1352, allocations: 24.73 kB / 0.6895 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1354, allocations: 212 kB / 0.6897 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1354, allocations: 16.69 kB / 0.6897 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1354, allocations: 16.38 kB / 0.6897 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1357, allocations: 249.5 kB / 0.69 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1357, allocations: 0 / 0.69 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1358, allocations: 8 kB / 0.69 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.1358, allocations: 11.98 kB / 0.69 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.1362, allocations: 431.4 kB / 0.6904 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.137, allocations: 0.9999 MB / 0.6914 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1372, allocations: 155.7 kB / 0.6915 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.1373, allocations: 70.17 kB / 0.6916 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.1384, allocations: 1.825 MB / 0.6934 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1384, allocations: 38.56 kB / 0.6934 GB, free: 2.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1384, allocations: 0 / 0.6934 GB, free: 2.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002468/0.1387, allocations: 143.7 kB / 0.6935 GB, free: 2.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1387, allocations: 55.41 kB / 0.6936 GB, free: 2.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1388, allocations: 168.9 kB / 0.6937 GB, free: 1.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1389, allocations: 29.7 kB / 0.6938 GB, free: 1.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.1389, allocations: 143.8 kB / 0.6939 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.139, allocations: 55.19 kB / 0.694 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.139, allocations: 57.55 kB / 0.694 GB, free: 1.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.1391, allocations: 326.8 kB / 0.6943 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.1392, allocations: 31.98 kB / 0.6944 GB, free: 1.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1393, allocations: 139.5 kB / 0.6945 GB, free: 1.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1395, allocations: 201.5 kB / 0.6947 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1395, allocations: 0 / 0.6947 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002812/0.1398, allocations: 214.9 kB / 0.6949 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1398, allocations: 6.188 kB / 0.6949 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1398, allocations: 4 kB / 0.6949 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1398, allocations: 11.94 kB / 0.6949 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.14, allocations: 55.91 kB / 0.695 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.14, allocations: 4 kB / 0.695 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1401, allocations: 31.62 kB / 0.695 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1401, allocations: 15.94 kB / 0.695 GB, free: 0.543 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 8.076e-05/0.1402, allocations: 130.1 kB / 0.6951 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.1402, allocations: 19.8 kB / 0.6952 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.1405, allocations: 160.8 kB / 0.6953 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1405, allocations: 3.938 kB / 0.6953 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1405, allocations: 0 / 0.6953 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1405, allocations: 4 kB / 0.6953 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1407, allocations: 225.4 kB / 0.6955 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1407, allocations: 0 / 0.6955 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.1408, allocations: 31.92 kB / 0.6956 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1408, allocations: 0 / 0.6956 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1409, allocations: 4 kB / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1409, allocations: 3.938 kB / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1409, allocations: 4 kB / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1411, allocations: 207.3 kB / 0.6958 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.1411, allocations: 104.9 kB / 0.6959 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1412, allocations: 7.984 kB / 0.6959 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1414, allocations: 23.83 kB / 0.6959 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1414, allocations: 15.98 kB / 0.6959 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1414, allocations: 8 kB / 0.6959 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.1415, allocations: 119.2 kB / 0.696 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1415, allocations: 0 / 0.696 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003263/0.1418, allocations: 83.97 kB / 0.6961 GB, free: 15.32 MB / 0.4981 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.0005345/0.1424, allocations: 0.827 MB / 0.6969 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1426, allocations: 120.6 kB / 0.697 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1426, allocations: 8.125 kB / 0.6971 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.1426, allocations: 53.95 kB / 0.6971 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.143, allocations: 51.89 kB / 0.6972 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1447, allocations: 2.098 MB / 0.6992 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1449, allocations: 0.705 MB / 0.6999 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.1451, allocations: 53.67 kB / 0.6999 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.1451, allocations: 51.42 kB / 0.7 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1452, allocations: 0 / 0.7 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.99/2.135, allocations: 5.051 MB / 0.7049 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/2.136, allocations: 217.7 kB / 0.7051 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/3.92, allocations: 3 kB / 0.7051 GB, free: 6.012 MB / 0.4981 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)