Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",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.7717/0.7717, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001191/0.001191, allocations: 192.7 kB / 169.7 MB, free: 1.727 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.959/1.959, 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.001045/0.001045, allocations: 93.06 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.338e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 76.75 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.67/11.84, allocations: 4.57 GB / 5.198 GB, free: 234.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/11.84, allocations: 89.11 kB / 5.198 GB, free: 234.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4751/12.31, allocations: 254.6 MB / 5.447 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/12.31, allocations: 0 / 5.447 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.629e-05/12.31, allocations: 11.98 kB / 5.447 GB, free: 8.887 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001778/12.31, allocations: 0.7566 MB / 5.448 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/12.31, allocations: 8.031 kB / 5.448 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.328e-05/12.31, allocations: 75.56 kB / 5.448 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/12.31, allocations: 59.45 kB / 5.448 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/12.31, allocations: 330.1 kB / 5.448 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/12.31, allocations: 28.78 kB / 5.448 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/12.31, allocations: 39.91 kB / 5.448 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/12.32, allocations: 391.6 kB / 5.449 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/12.32, allocations: 0 / 5.449 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/12.32, allocations: 16 kB / 5.449 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/12.32, allocations: 12 kB / 5.449 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/12.32, allocations: 375 kB / 5.449 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/12.32, allocations: 1.568 MB / 5.451 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/12.32, allocations: 279.5 kB / 5.451 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/12.32, allocations: 154.1 kB / 5.451 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/12.32, allocations: 4 kB / 5.451 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/12.32, allocations: 50.48 kB / 5.451 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/12.32, allocations: 0 / 5.451 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.003199/12.32, allocations: 1.416 MB / 5.452 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/12.32, allocations: 63.41 kB / 5.453 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/12.32, allocations: 287.4 kB / 5.453 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/12.32, allocations: 33.7 kB / 5.453 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/12.32, allocations: 200.4 kB / 5.453 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/12.32, allocations: 137.9 kB / 5.453 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/12.32, allocations: 12 kB / 5.453 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/12.32, allocations: 346.8 kB / 5.454 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/12.32, allocations: 152.8 kB / 5.454 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/12.32, allocations: 212.2 kB / 5.454 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/12.32, allocations: 185.6 kB / 5.454 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/12.32, allocations: 0 / 5.454 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008191/12.32, allocations: 0.5528 MB / 5.455 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/12.32, allocations: 4 kB / 5.455 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/12.32, allocations: 4 kB / 5.455 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/12.32, allocations: 94.45 kB / 5.455 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/12.33, allocations: 115.9 kB / 5.455 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.489/12.81, allocations: 4.168 MB / 5.459 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/12.81, allocations: 36.22 kB / 5.459 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/12.81, allocations: 13.75 kB / 5.459 GB, free: 163 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002197/12.82, allocations: 127 kB / 5.459 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/12.82, allocations: 40.31 kB / 5.459 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/12.82, allocations: 51.09 kB / 5.459 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/12.82, allocations: 7.922 kB / 5.459 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/12.82, allocations: 1.188 kB / 5.459 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/12.82, allocations: 0.6485 MB / 5.46 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/12.82, allocations: 1.131 MB / 5.461 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/12.82, allocations: 1.344 kB / 5.461 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/12.82, allocations: 115.7 kB / 5.461 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/12.82, allocations: 58.47 kB / 5.461 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/12.82, allocations: 14.78 kB / 5.461 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/12.82, allocations: 1.559 MB / 5.463 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/12.82, allocations: 2.594 kB / 5.463 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/12.82, allocations: 0.8154 MB / 5.463 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/12.82, allocations: 168.2 kB / 5.464 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/12.82, allocations: 14.08 kB / 5.464 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/12.82, allocations: 32.73 kB / 5.464 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/12.82, allocations: 34.33 kB / 5.464 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/12.82, allocations: 22.44 kB / 5.464 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003504/12.82, allocations: 229.3 kB / 5.464 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/12.82, allocations: 0 / 5.464 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001182/12.83, allocations: 221.4 kB / 5.464 GB, free: 160.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/12.83, allocations: 2.626 MB / 5.467 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001325/12.83, allocations: 0.7289 MB / 5.467 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/12.83, allocations: 3.844 kB / 5.467 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/12.83, allocations: 323.1 kB / 5.468 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/12.83, allocations: 236.2 kB / 5.468 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/12.83, allocations: 0.991 MB / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/12.84, allocations: 0.8358 MB / 5.47 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004849/12.84, allocations: 104.1 kB / 5.47 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/12.84, allocations: 119.8 kB / 5.47 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/12.84, allocations: 0 / 5.47 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08654/12.92, allocations: 32.16 MB / 5.501 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/12.92, allocations: 214.6 kB / 5.501 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/16.02, allocations: 4 kB / 5.501 GB, free: 156.8 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)