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.745/0.745, allocations: 128.7 MB / 143.7 MB, free: 2.348 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.001283/0.001283, allocations: 188.3 kB / 173.7 MB, free: 6.117 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.658/1.658, allocations: 205.4 MB / 409 MB, free: 10.5 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.001031/0.001031, allocations: 98.59 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8.312 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.54/11.72, allocations: 4.57 GB / 5.206 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/11.72, allocations: 87.31 kB / 5.206 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7948/12.51, allocations: 255 MB / 5.455 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/12.51, allocations: 0 / 5.455 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.615e-05/12.51, allocations: 11.38 kB / 5.455 GB, free: 166.3 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.001501/12.51, allocations: 0.7902 MB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/12.51, allocations: 10.5 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/12.51, allocations: 78.62 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/12.51, allocations: 61.64 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/12.51, allocations: 324.2 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/12.51, allocations: 28.91 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/12.51, allocations: 39.47 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/12.52, allocations: 393.3 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/12.52, allocations: 0 / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/12.52, allocations: 29.22 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/12.52, allocations: 11.5 kB / 5.456 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/12.52, allocations: 382.7 kB / 5.457 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/12.52, allocations: 1.579 MB / 5.458 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/12.52, allocations: 281.9 kB / 5.459 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/12.52, allocations: 10.78 kB / 5.459 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/12.52, allocations: 37.84 kB / 5.459 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/12.52, allocations: 0 / 5.459 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.00377/12.52, allocations: 1.833 MB / 5.46 GB, free: 164 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/12.52, allocations: 55.44 kB / 5.461 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/12.52, allocations: 290.8 kB / 5.461 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/12.52, allocations: 37.14 kB / 5.461 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/12.52, allocations: 195.6 kB / 5.461 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/12.52, allocations: 149.3 kB / 5.461 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/12.52, allocations: 7.625 kB / 5.461 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/12.52, allocations: 345.8 kB / 5.461 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/12.52, allocations: 162 kB / 5.462 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/12.52, allocations: 215.7 kB / 5.462 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/12.52, allocations: 190.6 kB / 5.462 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/12.52, allocations: 0 / 5.462 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007664/12.52, allocations: 0.5423 MB / 5.463 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/12.52, allocations: 6.719 kB / 5.463 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/12.52, allocations: 0 / 5.463 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/12.52, allocations: 92.47 kB / 5.463 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/12.52, allocations: 119.7 kB / 5.463 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/12.53, allocations: 4.196 MB / 5.467 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/12.53, allocations: 36.17 kB / 5.467 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/12.53, allocations: 18.56 kB / 5.467 GB, free: 159.3 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 () * Number of clocked 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.0002719/12.53, allocations: 181.1 kB / 5.467 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/12.53, allocations: 43.08 kB / 5.467 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/12.53, allocations: 51.98 kB / 5.467 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/12.53, allocations: 4.844 kB / 5.467 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/12.53, allocations: 0 / 5.467 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007201/12.53, allocations: 0.6567 MB / 5.468 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/12.53, allocations: 1.14 MB / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/12.53, allocations: 0 / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/12.53, allocations: 110.6 kB / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/12.53, allocations: 65.33 kB / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/12.53, allocations: 20.41 kB / 5.469 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/12.53, allocations: 1.573 MB / 5.471 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/12.53, allocations: 0.6562 kB / 5.471 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/12.53, allocations: 0.827 MB / 5.471 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/12.53, allocations: 164.8 kB / 5.472 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/12.53, allocations: 21.08 kB / 5.472 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/12.53, allocations: 27.98 kB / 5.472 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/12.53, allocations: 39.08 kB / 5.472 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/12.53, allocations: 21.58 kB / 5.472 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002107/12.53, allocations: 229.1 kB / 5.472 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/12.53, allocations: 0 / 5.472 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009285/12.54, allocations: 224.7 kB / 5.472 GB, free: 156.6 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 () * Number of clocked 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.002351/12.54, allocations: 2.631 MB / 5.475 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009909/12.54, allocations: 0.744 MB / 5.475 GB, free: 155 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/12.54, allocations: 3.938 kB / 5.475 GB, free: 155 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/12.54, allocations: 323.2 kB / 5.476 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/12.54, allocations: 234.1 kB / 5.476 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/12.54, allocations: 3.257 MB / 5.479 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/12.54, allocations: 0.831 MB / 5.48 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004445/12.55, allocations: 101.5 kB / 5.48 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/12.55, allocations: 118.3 kB / 5.48 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of SimCode: time 6.92e-07/12.55, allocations: 3.75 kB / 5.48 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/12.59, allocations: 29.24 MB / 5.509 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/12.59, allocations: 243.5 kB / 5.509 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/15.56, allocations: 0 / 5.509 GB, free: 146.1 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)