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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 110 kB / 15.99 MB, free: 6.344 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.001211/0.001212, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.207/1.207, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 290.3 kB / 291 MB, free: 14.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.856/0.856, allocations: 169.2 MB / 0.4985 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001608, allocations: 88.61 kB / 0.5953 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1475, allocations: 86.98 MB / 0.6803 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.00525/0.1528, allocations: 4.461 MB / 0.6846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1553, allocations: 2.671 MB / 0.6872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.1554, allocations: 4 kB / 0.6872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1557, allocations: 43.8 kB / 0.6873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1559, allocations: 87.42 kB / 0.6874 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.157, allocations: 464.9 kB / 0.6878 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1573, allocations: 235.9 kB / 0.688 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1573, allocations: 13.55 kB / 0.688 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.1581, allocations: 414.2 kB / 0.6884 GB, free: 212 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1583, allocations: 99.53 kB / 0.6885 GB, free: 112 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1583, allocations: 8 kB / 0.6885 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2531/0.4114, allocations: 497.9 kB / 0.689 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4116, allocations: 35.09 kB / 0.689 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.4118, allocations: 77.72 kB / 0.6891 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.4122, allocations: 240.1 kB / 0.6893 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4122, allocations: 2.625 kB / 0.6893 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4123, allocations: 0.5156 kB / 0.6893 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.4123, allocations: 1.438 kB / 0.6893 GB, free: 12.61 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.000689/0.413, allocations: 0.4943 MB / 0.6898 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.413, allocations: 10.06 kB / 0.6898 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4132, allocations: 23.48 kB / 0.6899 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4134, allocations: 213.2 kB / 0.6901 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4134, allocations: 11.36 kB / 0.6901 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4134, allocations: 20.31 kB / 0.6901 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.4138, allocations: 243.6 kB / 0.6903 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4138, allocations: 0.9375 kB / 0.6903 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4138, allocations: 11.59 kB / 0.6903 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.4139, allocations: 6.594 kB / 0.6903 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.4144, allocations: 434.8 kB / 0.6908 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.4153, allocations: 0.999 MB / 0.6917 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.4156, allocations: 158.4 kB / 0.6919 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.4157, allocations: 66 kB / 0.6919 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/0.4166, allocations: 1.827 MB / 0.6937 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4167, allocations: 32.41 kB / 0.6938 GB, free: 9.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4167, allocations: 0 / 0.6938 GB, free: 9.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003137/0.417, allocations: 148.6 kB / 0.6939 GB, free: 9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.417, allocations: 57.89 kB / 0.694 GB, free: 8.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.4172, allocations: 168.6 kB / 0.6941 GB, free: 8.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4172, allocations: 33.33 kB / 0.6942 GB, free: 8.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.4173, allocations: 145.4 kB / 0.6943 GB, free: 8.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.4173, allocations: 54.42 kB / 0.6943 GB, free: 8.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.4174, allocations: 54.41 kB / 0.6944 GB, free: 8.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.4174, allocations: 323.5 kB / 0.6947 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.4175, allocations: 38.19 kB / 0.6947 GB, free: 8.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4176, allocations: 138.7 kB / 0.6949 GB, free: 8.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.4178, allocations: 200.4 kB / 0.6951 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4178, allocations: 1.5 kB / 0.6951 GB, free: 8.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003049/0.4181, allocations: 214 kB / 0.6953 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4181, allocations: 6.875 kB / 0.6953 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4182, allocations: 4.125 kB / 0.6953 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4182, allocations: 4.75 kB / 0.6953 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4184, allocations: 57.27 kB / 0.6953 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4184, allocations: 13.38 kB / 0.6954 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4185, allocations: 25.27 kB / 0.6954 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4185, allocations: 19.11 kB / 0.6954 GB, free: 7.984 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 7.98e-05/0.4186, allocations: 129.6 kB / 0.6955 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.4187, allocations: 18.47 kB / 0.6955 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.4189, allocations: 158.1 kB / 0.6957 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.419, allocations: 2.203 kB / 0.6957 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.419, allocations: 5.062 kB / 0.6957 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.419, allocations: 5.031 kB / 0.6957 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.4192, allocations: 219.5 kB / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4192, allocations: 0 / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.4193, allocations: 27.64 kB / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.4193, allocations: 2 kB / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4193, allocations: 5.906 kB / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4193, allocations: 1.672 kB / 0.6959 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4193, allocations: 3.938 kB / 0.6959 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.4195, allocations: 220.9 kB / 0.6962 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.4196, allocations: 105.9 kB / 0.6963 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4196, allocations: 1.438 kB / 0.6963 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4198, allocations: 23.8 kB / 0.6963 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.4199, allocations: 21.12 kB / 0.6963 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4199, allocations: 10.08 kB / 0.6963 GB, free: 7.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.42, allocations: 121 kB / 0.6964 GB, free: 7.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.42, allocations: 0 / 0.6964 GB, free: 7.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.4204, allocations: 78.66 kB / 0.6965 GB, free: 7.281 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.0003527/0.4207, allocations: 178 kB / 0.6967 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.421, allocations: 127.4 kB / 0.6968 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.421, allocations: 5.438 kB / 0.6968 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.4211, allocations: 43.52 kB / 0.6968 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.4215, allocations: 50.05 kB / 0.6969 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.4221, allocations: 426 kB / 0.6973 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4223, allocations: 0.7142 MB / 0.698 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.4223, allocations: 28.84 kB / 0.698 GB, free: 6.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4223, allocations: 0 / 0.698 GB, free: 6.203 MB / 494.1 MB Notification: Performance of Templates: time 0.005444/0.4278, allocations: 3.148 MB / 0.7011 GB, free: 5.863 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)