Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.7331/0.7331, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001173/0.001173, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.771/1.771, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.001109/0.001109, allocations: 88.92 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.713e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 76.76 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.13/12.31, allocations: 4.566 GB / 5.195 GB, free: 190.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/12.31, allocations: 83.47 kB / 5.195 GB, free: 190.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0696/12.38, allocations: 36.84 MB / 5.231 GB, free: 183.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/12.38, allocations: 0 / 5.231 GB, free: 183.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.804e-06/12.38, allocations: 0 / 5.231 GB, free: 183.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000345/12.38, allocations: 357.5 kB / 5.231 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/12.38, allocations: 7.812 kB / 5.231 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/12.38, allocations: 34.19 kB / 5.231 GB, free: 183 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/12.38, allocations: 15.8 kB / 5.231 GB, free: 183 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/12.38, allocations: 167 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/12.38, allocations: 7.859 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/12.38, allocations: 12.09 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/12.38, allocations: 60.48 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/12.38, allocations: 4 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/12.38, allocations: 0 / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/12.38, allocations: 0 / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/12.38, allocations: 11.72 kB / 5.231 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/12.38, allocations: 164.5 kB / 5.231 GB, free: 182.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/12.38, allocations: 49.36 kB / 5.231 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/12.38, allocations: 20.44 kB / 5.232 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/12.38, allocations: 4 kB / 5.232 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/12.38, allocations: 34.56 kB / 5.232 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/12.38, allocations: 0 / 5.232 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0007141/12.38, allocations: 354.1 kB / 5.232 GB, free: 182.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/12.38, allocations: 59.25 kB / 5.232 GB, free: 182.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/12.38, allocations: 89 kB / 5.232 GB, free: 182 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/12.38, allocations: 37.34 kB / 5.232 GB, free: 182 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/12.38, allocations: 80.14 kB / 5.232 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/12.38, allocations: 38.09 kB / 5.232 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/12.38, allocations: 0 / 5.232 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/12.38, allocations: 322 kB / 5.232 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/12.38, allocations: 19.47 kB / 5.232 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/12.38, allocations: 28.75 kB / 5.233 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/12.38, allocations: 30.55 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/12.38, allocations: 0 / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001139/12.38, allocations: 92.02 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/12.38, allocations: 3.906 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/12.38, allocations: 3.969 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/12.38, allocations: 0 / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/12.38, allocations: 27.58 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/12.38, allocations: 0 / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/12.38, allocations: 0 / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/12.38, allocations: 3.891 kB / 5.233 GB, free: 181.5 MB / 0.6511 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 (14): * Single equations (assignments): 14 * 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 6.145e-05/12.38, allocations: 112.6 kB / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/12.38, allocations: 11.77 kB / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/12.38, allocations: 15.52 kB / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/12.38, allocations: 3.906 kB / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/12.38, allocations: 0 / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/12.38, allocations: 0 / 5.233 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/12.38, allocations: 172.6 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/12.38, allocations: 3.938 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/12.38, allocations: 18.69 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/12.38, allocations: 7.859 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/12.38, allocations: 4 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/12.38, allocations: 3.984 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/12.38, allocations: 3.984 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/12.38, allocations: 133 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/12.38, allocations: 81.14 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/12.38, allocations: 10.98 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/12.38, allocations: 0 / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/12.38, allocations: 11.95 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/12.38, allocations: 7.438 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.05e-05/12.38, allocations: 75.28 kB / 5.233 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/12.38, allocations: 0 / 5.233 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003392/12.38, allocations: 52.64 kB / 5.233 GB, free: 180.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009033/12.38, allocations: 1.134 MB / 5.234 GB, free: 180 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001222/12.38, allocations: 50.27 kB / 5.235 GB, free: 180 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/12.38, allocations: 4 kB / 5.235 GB, free: 180 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/12.38, allocations: 38.73 kB / 5.235 GB, free: 180 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/12.38, allocations: 12.98 kB / 5.235 GB, free: 180 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/12.38, allocations: 333.1 kB / 5.235 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/12.38, allocations: 0.6907 MB / 5.236 GB, free: 179 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.986e-05/12.38, allocations: 8.109 kB / 5.236 GB, free: 179 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/12.38, allocations: 14.47 kB / 5.236 GB, free: 179 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/12.38, allocations: 0 / 5.236 GB, free: 179 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/12.41, allocations: 12.66 MB / 5.248 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/12.41, allocations: 183 kB / 5.248 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/14.41, allocations: 6.656 kB / 5.248 GB, free: 172.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)