Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7382/0.7382, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 180.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 91.52 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.875e-05, allocations: 0 / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.511, allocations: 336.6 MB / 0.9503 GB, free: 206.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.511, allocations: 75.95 kB / 0.9504 GB, free: 206.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02071/1.532, allocations: 11.49 MB / 0.9616 GB, free: 195.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/1.532, allocations: 0 / 0.9616 GB, free: 195.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.532, allocations: 7.938 kB / 0.9616 GB, free: 195 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002717/1.532, allocations: 338.4 kB / 0.9619 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.532, allocations: 12.02 kB / 0.9619 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/1.532, allocations: 3.953 kB / 0.962 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.846e-05/1.532, allocations: 163.1 kB / 0.9621 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.532, allocations: 25.7 kB / 0.9621 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/1.532, allocations: 0 / 0.9621 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.02e-05/1.533, allocations: 19.92 kB / 0.9622 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/1.533, allocations: 37.69 kB / 0.9622 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.533, allocations: 0 / 0.9622 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.533, allocations: 4 kB / 0.9622 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.533, allocations: 3.953 kB / 0.9622 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/1.533, allocations: 306.6 kB / 0.9625 GB, free: 194 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.985e-05/1.533, allocations: 14.58 kB / 0.9625 GB, free: 194 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/1.533, allocations: 4.859 kB / 0.9625 GB, free: 194 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/1.533, allocations: 89.2 kB / 0.9626 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.533, allocations: 42.5 kB / 0.9626 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.533, allocations: 0 / 0.9626 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/1.533, allocations: 34.44 kB / 0.9627 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/1.533, allocations: 51.41 kB / 0.9627 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/1.533, allocations: 101 kB / 0.9628 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.534, allocations: 25.7 kB / 0.9628 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/1.534, allocations: 88.05 kB / 0.9629 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/1.534, allocations: 7.938 kB / 0.9629 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/1.534, allocations: 0 / 0.9629 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/1.534, allocations: 310.8 kB / 0.9632 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/1.534, allocations: 4 kB / 0.9632 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/1.534, allocations: 21.7 kB / 0.9632 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/1.534, allocations: 5.688 kB / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/1.534, allocations: 0 / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.521e-05/1.534, allocations: 53.62 kB / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.534, allocations: 4 kB / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/1.534, allocations: 0 / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.534, allocations: 0 / 0.9633 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/1.534, allocations: 19.92 kB / 0.9633 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.534, allocations: 3.953 kB / 0.9633 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/1.534, allocations: 0 / 0.9633 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.534, allocations: 0 / 0.9633 GB, free: 193 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.401e-05/1.534, allocations: 116.9 kB / 0.9634 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.448e-05/1.534, allocations: 41.7 kB / 0.9635 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/1.534, allocations: 0 / 0.9635 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/1.534, allocations: 121.5 kB / 0.9636 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/1.534, allocations: 188.1 kB / 0.9638 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/1.534, allocations: 176.3 kB / 0.9639 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/1.534, allocations: 184.3 kB / 0.9641 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/1.534, allocations: 385.7 kB / 0.9645 GB, free: 191.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.535, allocations: 105 kB / 0.9646 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/1.535, allocations: 105 kB / 0.9647 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-05/1.535, allocations: 184.2 kB / 0.9649 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/1.535, allocations: 176.3 kB / 0.965 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.054e-05/1.535, allocations: 180.3 kB / 0.9652 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.951e-05/1.535, allocations: 184.2 kB / 0.9654 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/1.535, allocations: 303.8 kB / 0.9657 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/1.535, allocations: 186 kB / 0.9658 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.535, allocations: 188.2 kB / 0.966 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/1.535, allocations: 101 kB / 0.9661 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/1.535, allocations: 184.2 kB / 0.9663 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.535, allocations: 101 kB / 0.9664 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.446e-05/1.535, allocations: 87.22 kB / 0.9665 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.535, allocations: 0 / 0.9665 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002192/1.535, allocations: 12 kB / 0.9665 GB, free: 189.6 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000325/1.536, allocations: 0.8448 MB / 0.9673 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.782e-05/1.536, allocations: 8 kB / 0.9673 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.536, allocations: 0 / 0.9673 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/1.536, allocations: 0 / 0.9673 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.536, allocations: 0.5225 MB / 0.9678 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/1.536, allocations: 168.8 kB / 0.968 GB, free: 188 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/1.536, allocations: 0.6806 MB / 0.9687 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.116e-05/1.536, allocations: 4 kB / 0.9687 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/1.536, allocations: 11.44 kB / 0.9687 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.536, allocations: 0 / 0.9687 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/1.559, allocations: 1.085 MB / 0.9697 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.56, allocations: 167.6 kB / 0.9699 GB, free: 186 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/3.202, allocations: 0.75 kB / 0.9699 GB, free: 186 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)