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.7235/0.7235, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 195.8 kB / 169.7 MB, free: 1.734 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.879/1.879, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.001067/0.001067, allocations: 82.44 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.722e-05/4.726e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.203, allocations: 76.75 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.518, allocations: 336.9 MB / 0.9573 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.518, allocations: 71.97 kB / 0.9573 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02029/1.538, allocations: 11.54 MB / 0.9686 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.538, allocations: 8 kB / 0.9686 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.423e-06/1.538, allocations: 0 / 0.9686 GB, free: 185.6 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.0002675/1.539, allocations: 334.4 kB / 0.9689 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.539, allocations: 12.03 kB / 0.9689 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/1.539, allocations: 34.55 kB / 0.969 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/1.539, allocations: 7.891 kB / 0.969 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.054e-05/1.539, allocations: 163.1 kB / 0.9691 GB, free: 185 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/1.539, allocations: 29.7 kB / 0.9692 GB, free: 185 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/1.539, allocations: 4 kB / 0.9692 GB, free: 185 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/1.539, allocations: 37.69 kB / 0.9692 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.539, allocations: 0 / 0.9692 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.539, allocations: 0 / 0.9692 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/1.539, allocations: 7.953 kB / 0.9692 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/1.539, allocations: 19.92 kB / 0.9692 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/1.539, allocations: 326.1 kB / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/1.539, allocations: 22.58 kB / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/1.539, allocations: 4.859 kB / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/1.54, allocations: 81.17 kB / 0.9697 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.54, allocations: 38.52 kB / 0.9697 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.54, allocations: 0 / 0.9697 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/1.54, allocations: 42.41 kB / 0.9697 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.54, allocations: 51.41 kB / 0.9698 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/1.54, allocations: 93.03 kB / 0.9699 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/1.54, allocations: 25.7 kB / 0.9699 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/1.54, allocations: 92.03 kB / 0.97 GB, free: 184 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/1.54, allocations: 7.906 kB / 0.97 GB, free: 184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/1.54, allocations: 0 / 0.97 GB, free: 184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/1.54, allocations: 314.8 kB / 0.9703 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/1.54, allocations: 4 kB / 0.9703 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/1.54, allocations: 17.72 kB / 0.9703 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.722e-05/1.54, allocations: 8 kB / 0.9703 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.54, allocations: 3.938 kB / 0.9703 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.751e-05/1.54, allocations: 49.62 kB / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.54, allocations: 4 kB / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.54, allocations: 3.953 kB / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.54, allocations: 4 kB / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/1.54, allocations: 4 kB / 0.9704 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.54, allocations: 8.047 kB / 0.9704 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/1.54, allocations: 0 / 0.9704 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.54, allocations: 4 kB / 0.9704 GB, free: 183.5 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 4.741e-05/1.54, allocations: 108.9 kB / 0.9705 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/1.54, allocations: 3.938 kB / 0.9705 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/1.54, allocations: 117 kB / 0.9706 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.54, allocations: 196.1 kB / 0.9708 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/1.541, allocations: 180.3 kB / 0.971 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/1.541, allocations: 180.3 kB / 0.9711 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.541, allocations: 409.2 kB / 0.9715 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.541, allocations: 101 kB / 0.9716 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/1.541, allocations: 105.2 kB / 0.9717 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/1.541, allocations: 180.3 kB / 0.9719 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.541, allocations: 180.3 kB / 0.9721 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.843e-05/1.541, allocations: 184.2 kB / 0.9723 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-05/1.541, allocations: 184.2 kB / 0.9724 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.583e-05/1.541, allocations: 311.7 kB / 0.9727 GB, free: 181 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/1.541, allocations: 190.1 kB / 0.9729 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/1.541, allocations: 180.2 kB / 0.9731 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/1.541, allocations: 105 kB / 0.9732 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/1.541, allocations: 188.1 kB / 0.9734 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/1.541, allocations: 101 kB / 0.9735 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.734e-05/1.541, allocations: 87.28 kB / 0.9735 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.541, allocations: 0 / 0.9735 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002273/1.542, allocations: 12 kB / 0.9735 GB, free: 180.1 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.0003259/1.542, allocations: 0.8407 MB / 0.9744 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/1.542, allocations: 8 kB / 0.9744 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.542, allocations: 0 / 0.9744 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/1.542, allocations: 4 kB / 0.9744 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/1.542, allocations: 0.5303 MB / 0.9749 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/1.542, allocations: 170.5 kB / 0.9751 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/1.543, allocations: 0.677 MB / 0.9757 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.201e-05/1.543, allocations: 15.92 kB / 0.9757 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/1.543, allocations: 11.38 kB / 0.9757 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.543, allocations: 0 / 0.9757 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/1.555, allocations: 1.595 MB / 0.9773 GB, free: 176.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.555, allocations: 174.3 kB / 0.9775 GB, free: 176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/3.227, allocations: 4 kB / 0.9775 GB, free: 176 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)