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.001313/0.001313, allocations: 115.3 kB / 17.13 MB, free: 5.754 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.001281/0.001281, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.47/1.47, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.8382/0.8382, allocations: 129.2 MB / 432.5 MB, free: 13.04 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.001946/0.001946, allocations: 71.83 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3984, allocations: 83.45 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002089/0.4005, allocations: 1.271 MB / 0.6814 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.5854, allocations: 147.4 MB / 0.8254 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.5855, allocations: 0 / 0.8254 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.5855, allocations: 3.984 kB / 0.8254 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.5856, allocations: 11.86 kB / 0.8254 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.586, allocations: 95.56 kB / 0.8255 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.5861, allocations: 35.8 kB / 0.8255 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.5862, allocations: 3.984 kB / 0.8255 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.5862, allocations: 12 kB / 0.8255 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.5863, allocations: 23.91 kB / 0.8256 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.5863, allocations: 0 / 0.8256 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.5866, allocations: 75.84 kB / 0.8256 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.5866, allocations: 11.97 kB / 0.8256 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.5866, allocations: 15.94 kB / 0.8257 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.5868, allocations: 62.69 kB / 0.8257 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5868, allocations: 0 / 0.8257 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5868, allocations: 0 / 0.8257 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.5868, allocations: 0 / 0.8257 GB, free: 8.395 MB / 0.6387 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.0004912/0.5873, allocations: 355.3 kB / 0.8261 GB, free: 8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5873, allocations: 12.02 kB / 0.8261 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.5874, allocations: 38.75 kB / 0.8261 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.5876, allocations: 8.938 kB / 0.8261 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.5877, allocations: 176.1 kB / 0.8263 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5877, allocations: 0 / 0.8263 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.5878, allocations: 8 kB / 0.8263 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5879, allocations: 53.61 kB / 0.8263 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5879, allocations: 0 / 0.8263 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5879, allocations: 0 / 0.8263 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5879, allocations: 4 kB / 0.8263 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.588, allocations: 15.98 kB / 0.8264 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.5882, allocations: 177.5 kB / 0.8265 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.5883, allocations: 50.5 kB / 0.8266 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.5883, allocations: 12.86 kB / 0.8266 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.5884, allocations: 0 / 0.8266 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5884, allocations: 38.56 kB / 0.8266 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.5884, allocations: 0 / 0.8266 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007981/0.5892, allocations: 370.5 kB / 0.827 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.5892, allocations: 51.41 kB / 0.827 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.5893, allocations: 93.8 kB / 0.8271 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5893, allocations: 33.7 kB / 0.8272 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.5894, allocations: 80.14 kB / 0.8272 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.5894, allocations: 39.64 kB / 0.8273 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.5895, allocations: 29.7 kB / 0.8273 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5896, allocations: 322.9 kB / 0.8276 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.5897, allocations: 23.92 kB / 0.8276 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.5897, allocations: 37.7 kB / 0.8277 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.5898, allocations: 54.2 kB / 0.8277 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5898, allocations: 0 / 0.8277 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001469/0.59, allocations: 109.5 kB / 0.8278 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.59, allocations: 8 kB / 0.8278 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.59, allocations: 0 / 0.8278 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.59, allocations: 4 kB / 0.8278 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5901, allocations: 20 kB / 0.8278 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5901, allocations: 3.938 kB / 0.8279 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.5902, allocations: 4 kB / 0.8279 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5902, allocations: 11.92 kB / 0.8279 GB, free: 5.906 MB / 0.6387 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.225e-05/0.5903, allocations: 113.8 kB / 0.828 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.5903, allocations: 4 kB / 0.828 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.5903, allocations: 11.97 kB / 0.828 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5903, allocations: 8 kB / 0.828 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5903, allocations: 0 / 0.828 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5903, allocations: 0 / 0.828 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5905, allocations: 177.6 kB / 0.8282 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5905, allocations: 0 / 0.8282 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5906, allocations: 19.98 kB / 0.8282 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5906, allocations: 7.938 kB / 0.8282 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5906, allocations: 4 kB / 0.8282 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5906, allocations: 0 / 0.8282 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5906, allocations: 0 / 0.8282 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.5909, allocations: 141 kB / 0.8283 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.5909, allocations: 89.09 kB / 0.8284 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.591, allocations: 4 kB / 0.8284 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.591, allocations: 4 kB / 0.8284 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.5911, allocations: 3.984 kB / 0.8284 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5911, allocations: 8 kB / 0.8284 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.5912, allocations: 79.22 kB / 0.8285 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5912, allocations: 0 / 0.8285 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002226/0.5914, allocations: 20.09 kB / 0.8285 GB, free: 5.133 MB / 0.6387 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.0005158/0.5919, allocations: 0.6671 MB / 0.8292 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.592, allocations: 51.92 kB / 0.8292 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.592, allocations: 0 / 0.8292 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.5921, allocations: 27.92 kB / 0.8293 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5923, allocations: 12 kB / 0.8293 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5939, allocations: 1.454 MB / 0.8307 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5943, allocations: 0.6883 MB / 0.8314 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.835e-05/0.5943, allocations: 16.64 kB / 0.8314 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.5944, allocations: 15.44 kB / 0.8314 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.5944, allocations: 0 / 0.8314 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.6277, allocations: 1.701 MB / 0.8331 GB, free: 484 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.806, allocations: 5.438 kB / 0.8331 GB, free: 484 kB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.191678977105767] Failed to read output from testmodel.py, exit status != 0: 8.873947347979993 8.890210967 8.300174896 Calling exit ...