Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007514/0.0007515, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000758/0.000758, allocations: 177.8 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5998/0.5998, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.0009893/0.1151, allocations: 0.9765 MB / 0.5579 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.342/0.4572, allocations: 133.5 MB / 0.6882 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.4572, allocations: 0 / 0.6882 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.4573, allocations: 0 / 0.6882 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.4573, allocations: 7.922 kB / 0.6882 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.4576, allocations: 81.69 kB / 0.6883 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.4577, allocations: 31.86 kB / 0.6883 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.4577, allocations: 4 kB / 0.6883 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.4577, allocations: 11.98 kB / 0.6883 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.4578, allocations: 19.91 kB / 0.6883 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.4578, allocations: 0 / 0.6883 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.458, allocations: 67.84 kB / 0.6884 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.458, allocations: 11.97 kB / 0.6884 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.4581, allocations: 29.7 kB / 0.6884 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.804e-05/0.4582, allocations: 50.28 kB / 0.6885 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4582, allocations: 7.938 kB / 0.6885 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4582, allocations: 4 kB / 0.6885 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.4582, allocations: 0 / 0.6885 GB, free: 4.312 MB / 0.4981 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.0002937/0.4585, allocations: 335.4 kB / 0.6888 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4585, allocations: 8.031 kB / 0.6888 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.4586, allocations: 34.56 kB / 0.6889 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4587, allocations: 13.52 kB / 0.6889 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.4588, allocations: 167 kB / 0.689 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4588, allocations: 3.953 kB / 0.689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.4589, allocations: 8 kB / 0.689 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.459, allocations: 53.67 kB / 0.6891 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.459, allocations: 0 / 0.6891 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.459, allocations: 0 / 0.6891 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.459, allocations: 4 kB / 0.6891 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.4591, allocations: 23.86 kB / 0.6891 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.4592, allocations: 161.6 kB / 0.6893 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.4593, allocations: 51.69 kB / 0.6893 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.4593, allocations: 20.8 kB / 0.6893 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.4593, allocations: 4 kB / 0.6894 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4594, allocations: 34.56 kB / 0.6894 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.4594, allocations: 0 / 0.6894 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005917/0.46, allocations: 370.3 kB / 0.6897 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.46, allocations: 59.39 kB / 0.6898 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.4601, allocations: 93.86 kB / 0.6899 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4601, allocations: 29.7 kB / 0.6899 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.4601, allocations: 80.14 kB / 0.69 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.4601, allocations: 39.39 kB / 0.69 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.4602, allocations: 4 kB / 0.69 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.4603, allocations: 314.8 kB / 0.6903 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.4603, allocations: 15.98 kB / 0.6903 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.4603, allocations: 42.58 kB / 0.6904 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.4604, allocations: 24.61 kB / 0.6904 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4604, allocations: 3.953 kB / 0.6904 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001242/0.4605, allocations: 102.1 kB / 0.6905 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4605, allocations: 4 kB / 0.6905 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4605, allocations: 0 / 0.6905 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.4606, allocations: 0 / 0.6905 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4607, allocations: 27.92 kB / 0.6905 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4607, allocations: 0 / 0.6905 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.4607, allocations: 8 kB / 0.6905 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4607, allocations: 0 / 0.6905 GB, free: 1.941 MB / 0.4981 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 () * Number of clocked 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.655e-05/0.4608, allocations: 117.8 kB / 0.6907 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.4608, allocations: 9.828 kB / 0.6907 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.4608, allocations: 11.95 kB / 0.6907 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4608, allocations: 0 / 0.6907 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4609, allocations: 0 / 0.6907 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4609, allocations: 7.938 kB / 0.6907 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.461, allocations: 169.6 kB / 0.6909 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.461, allocations: 4 kB / 0.6909 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4611, allocations: 27.89 kB / 0.6909 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4611, allocations: 0 / 0.6909 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4611, allocations: 4 kB / 0.6909 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4611, allocations: 3.984 kB / 0.6909 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4611, allocations: 3.984 kB / 0.6909 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4613, allocations: 131.5 kB / 0.691 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.4614, allocations: 85.14 kB / 0.6911 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4614, allocations: 11.89 kB / 0.6911 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.4615, allocations: 8.875 kB / 0.6911 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.4615, allocations: 7.922 kB / 0.6911 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4615, allocations: 4 kB / 0.6911 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.4615, allocations: 75.28 kB / 0.6912 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4615, allocations: 0 / 0.6912 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001797/0.4617, allocations: 20 kB / 0.6912 GB, free: 1.164 MB / 0.4981 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 () * Number of clocked 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.0004087/0.4621, allocations: 0.6639 MB / 0.6919 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.4623, allocations: 59.89 kB / 0.6919 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4623, allocations: 0 / 0.6919 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.4623, allocations: 27.94 kB / 0.692 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.4625, allocations: 15.94 kB / 0.692 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.4633, allocations: 0.672 MB / 0.6926 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.4635, allocations: 0.6887 MB / 0.6933 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.817e-05/0.4636, allocations: 8.672 kB / 0.6933 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4636, allocations: 19.48 kB / 0.6933 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4636, allocations: 0 / 0.6933 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009894/0.4735, allocations: 1.419 MB / 0.6947 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.4737, allocations: 208.3 kB / 0.6949 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.895, allocations: 0 / 0.6949 GB, free: 13.41 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: