Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.001794/0.001794, allocations: 114.8 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.002153/0.002153, 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.478/1.478, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.9074/0.9074, allocations: 129.2 MB / 432.5 MB, free: 13.33 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.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 75.81 kB / 0.5987 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4, allocations: 83.43 MB / 0.6801 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001848/0.4018, allocations: 1.331 MB / 0.6814 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1802/0.5821, allocations: 148.5 MB / 0.8265 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.5821, allocations: 0 / 0.8265 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.5822, allocations: 7.922 kB / 0.8265 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.5823, allocations: 19.91 kB / 0.8265 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.5834, allocations: 338.6 kB / 0.8268 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.5835, allocations: 67.75 kB / 0.8269 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.5835, allocations: 4 kB / 0.8269 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.5836, allocations: 31.92 kB / 0.8269 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.5837, allocations: 39.83 kB / 0.827 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.5837, allocations: 4 kB / 0.827 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.5845, allocations: 430.8 kB / 0.8274 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.5846, allocations: 15.97 kB / 0.8274 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.5846, allocations: 27.88 kB / 0.8274 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.585, allocations: 154.2 kB / 0.8276 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.585, allocations: 4 kB / 0.8276 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.704e-06/0.585, allocations: 4 kB / 0.8276 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.585, allocations: 0 / 0.8276 GB, free: 6.469 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005584/0.5856, allocations: 391 kB / 0.828 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5856, allocations: 12.03 kB / 0.828 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.5856, allocations: 38.73 kB / 0.828 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.5861, allocations: 36.86 kB / 0.8281 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5862, allocations: 168.1 kB / 0.8282 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.5862, allocations: 8 kB / 0.8282 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.5863, allocations: 15.92 kB / 0.8282 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.5864, allocations: 77.59 kB / 0.8283 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5865, allocations: 0 / 0.8283 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5865, allocations: 11.98 kB / 0.8283 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5865, allocations: 0 / 0.8283 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.5866, allocations: 47.95 kB / 0.8284 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.5868, allocations: 193.5 kB / 0.8285 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.587, allocations: 86.55 kB / 0.8286 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.5871, allocations: 28.94 kB / 0.8287 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.5873, allocations: 178.2 kB / 0.8288 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5873, allocations: 34.56 kB / 0.8289 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.5874, allocations: 0 / 0.8289 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001356/0.5887, allocations: 0.545 MB / 0.8294 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.5887, allocations: 55.41 kB / 0.8294 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.5888, allocations: 105.7 kB / 0.8295 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.5889, allocations: 33.7 kB / 0.8296 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.5889, allocations: 84.64 kB / 0.8297 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.589, allocations: 67.39 kB / 0.8297 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.589, allocations: 37.7 kB / 0.8298 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5892, allocations: 322.8 kB / 0.8301 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.5893, allocations: 39.98 kB / 0.8301 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.5894, allocations: 70.66 kB / 0.8302 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5895, allocations: 123.3 kB / 0.8303 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5895, allocations: 0 / 0.8303 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000247/0.5898, allocations: 157.5 kB / 0.8304 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5898, allocations: 6.344 kB / 0.8304 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5898, allocations: 0 / 0.8304 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5898, allocations: 4 kB / 0.8305 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.59, allocations: 39.92 kB / 0.8305 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.59, allocations: 3.938 kB / 0.8305 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.5901, allocations: 8 kB / 0.8305 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5901, allocations: 4 kB / 0.8305 GB, free: 3.152 MB / 0.6387 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 (24): * Single equations (assignments): 24 * 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 0.0001045/0.5902, allocations: 125.8 kB / 0.8306 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.5902, allocations: 7.953 kB / 0.8306 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.5902, allocations: 24.38 kB / 0.8307 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5902, allocations: 0 / 0.8307 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5903, allocations: 7.922 kB / 0.8307 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5903, allocations: 0 / 0.8307 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.5904, allocations: 193.6 kB / 0.8308 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5904, allocations: 4.125 kB / 0.8309 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5906, allocations: 39.92 kB / 0.8309 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5906, allocations: 4 kB / 0.8309 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5907, allocations: 8 kB / 0.8309 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5907, allocations: 0 / 0.8309 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5907, allocations: 3.938 kB / 0.8309 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.591, allocations: 203.7 kB / 0.8311 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.5911, allocations: 97.11 kB / 0.8312 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.5911, allocations: 0 / 0.8312 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.5912, allocations: 12 kB / 0.8312 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.5913, allocations: 11.92 kB / 0.8312 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5913, allocations: 11.98 kB / 0.8312 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.5913, allocations: 79.28 kB / 0.8313 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5913, allocations: 0 / 0.8313 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002212/0.5915, allocations: 24 kB / 0.8313 GB, free: 2.223 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006726/0.5922, allocations: 0.749 MB / 0.8321 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.5924, allocations: 114.6 kB / 0.8322 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5924, allocations: 0 / 0.8322 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.5925, allocations: 43.92 kB / 0.8322 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.5928, allocations: 19.92 kB / 0.8322 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.5949, allocations: 1.813 MB / 0.834 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.5953, allocations: 0.7085 MB / 0.8347 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.5954, allocations: 20.62 kB / 0.8347 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.5955, allocations: 27.42 kB / 0.8347 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.5955, allocations: 0 / 0.8347 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.6241, allocations: 2.449 MB / 0.8371 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.933, allocations: 11.94 kB / 0.8371 GB, free: 12.2 MB / 0.6544 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.526637693867087] Failed to read output from testmodel.py, exit status != 0: 9.00483768293634 9.03176759 8.441529743 Calling exit ...