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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 112.5 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 191.7 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8482/0.8482, allocations: 126.7 MB / 424.6 MB, free: 6.211 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 55.91 kB / 0.582 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4636, allocations: 78.86 MB / 0.659 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002136/0.4658, allocations: 1.274 MB / 0.6603 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6509, allocations: 147 MB / 0.8038 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.6509, allocations: 0 / 0.8038 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.651, allocations: 7.922 kB / 0.8038 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.6511, allocations: 7.922 kB / 0.8038 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.6516, allocations: 95.55 kB / 0.8039 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.6517, allocations: 31.86 kB / 0.804 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.6517, allocations: 7.984 kB / 0.804 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.6518, allocations: 15.98 kB / 0.804 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.6519, allocations: 19.92 kB / 0.804 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.6519, allocations: 0 / 0.804 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.6522, allocations: 79.81 kB / 0.8041 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.6522, allocations: 4 kB / 0.8041 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.6523, allocations: 11.94 kB / 0.8041 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.6524, allocations: 69.62 kB / 0.8042 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6525, allocations: 0 / 0.8042 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6525, allocations: 0 / 0.8042 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6525, allocations: 4 kB / 0.8042 GB, free: 8.809 MB / 0.6231 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.0004654/0.653, allocations: 355.3 kB / 0.8045 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.653, allocations: 8.031 kB / 0.8045 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.653, allocations: 38.75 kB / 0.8045 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.6532, allocations: 16.83 kB / 0.8046 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6534, allocations: 176 kB / 0.8047 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6534, allocations: 0 / 0.8047 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.6534, allocations: 8 kB / 0.8047 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.6536, allocations: 49.69 kB / 0.8048 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6536, allocations: 0 / 0.8048 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.6536, allocations: 0 / 0.8048 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6536, allocations: 4 kB / 0.8048 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.6537, allocations: 15.98 kB / 0.8048 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.6539, allocations: 173.5 kB / 0.805 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.654, allocations: 50.5 kB / 0.805 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.6541, allocations: 16.86 kB / 0.805 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.6541, allocations: 4 kB / 0.805 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.6541, allocations: 34.55 kB / 0.8051 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.6541, allocations: 0 / 0.8051 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0008258/0.655, allocations: 367 kB / 0.8054 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.655, allocations: 55.41 kB / 0.8055 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.6551, allocations: 93.86 kB / 0.8056 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6551, allocations: 29.7 kB / 0.8056 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.6552, allocations: 88.08 kB / 0.8057 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.6552, allocations: 47.52 kB / 0.8057 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.6553, allocations: 29.7 kB / 0.8057 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6555, allocations: 318.8 kB / 0.8061 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.6555, allocations: 19.98 kB / 0.8061 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.6556, allocations: 44.95 kB / 0.8061 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.6557, allocations: 53.7 kB / 0.8062 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.6557, allocations: 0 / 0.8062 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001603/0.6558, allocations: 101.6 kB / 0.8063 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6559, allocations: 4 kB / 0.8063 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.6559, allocations: 4 kB / 0.8063 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6559, allocations: 0 / 0.8063 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.656, allocations: 20 kB / 0.8063 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6561, allocations: 3.984 kB / 0.8063 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.6561, allocations: 7.938 kB / 0.8063 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.6561, allocations: 11.94 kB / 0.8063 GB, free: 6.32 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.6562, allocations: 113.8 kB / 0.8064 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.6562, allocations: 0 / 0.8064 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.6563, allocations: 7.969 kB / 0.8064 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.6563, allocations: 4 kB / 0.8064 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6563, allocations: 0 / 0.8064 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.6563, allocations: 0 / 0.8064 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.6565, allocations: 177.6 kB / 0.8066 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6565, allocations: 8 kB / 0.8066 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.6567, allocations: 27.92 kB / 0.8066 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6567, allocations: 0 / 0.8066 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6567, allocations: 4 kB / 0.8066 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6567, allocations: 3.938 kB / 0.8066 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6567, allocations: 0 / 0.8066 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.657, allocations: 137 kB / 0.8068 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.6571, allocations: 85.09 kB / 0.8069 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.6571, allocations: 4 kB / 0.8069 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.6572, allocations: 8 kB / 0.8069 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.6572, allocations: 8.078 kB / 0.8069 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6572, allocations: 4 kB / 0.8069 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.6573, allocations: 79.22 kB / 0.807 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6573, allocations: 0 / 0.807 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002004/0.6575, allocations: 16 kB / 0.807 GB, free: 5.551 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005512/0.658, allocations: 0.6788 MB / 0.8076 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.6582, allocations: 51.97 kB / 0.8077 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6582, allocations: 0 / 0.8077 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.6583, allocations: 27.98 kB / 0.8077 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.6585, allocations: 11.94 kB / 0.8077 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6602, allocations: 1.45 MB / 0.8091 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6606, allocations: 0.6885 MB / 0.8098 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.6606, allocations: 12.66 kB / 0.8098 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.6607, allocations: 15.44 kB / 0.8098 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6607, allocations: 4 kB / 0.8098 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.6868, allocations: 1.679 MB / 0.8115 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/9.27, allocations: 17.97 kB / 0.8115 GB, free: 0.8867 MB / 0.6231 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.173252796987072] Failed to read output from testmodel.py, exit status != 0: 9.34111583896447 9.365492878 8.708724773 Calling exit ...