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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 115.2 kB / 19.7 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 219.5 kB / 23.01 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9868/0.9868, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 65.44 kB / 0.6412 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1908, allocations: 89.17 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002838/0.1936, allocations: 1.354 MB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5685/0.7621, allocations: 151.4 MB / 0.8775 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.7622, allocations: 0 / 0.8775 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.773e-05/0.7622, allocations: 3.938 kB / 0.8775 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.7624, allocations: 19.92 kB / 0.8775 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.7637, allocations: 334.6 kB / 0.8778 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.7639, allocations: 63.77 kB / 0.8779 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.764, allocations: 14.06 kB / 0.8779 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.764, allocations: 39.84 kB / 0.878 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.7642, allocations: 31.89 kB / 0.878 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.7642, allocations: 4 kB / 0.878 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7653, allocations: 442.5 kB / 0.8784 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.7653, allocations: 15.97 kB / 0.8784 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.7654, allocations: 31.86 kB / 0.8785 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.7657, allocations: 153.6 kB / 0.8786 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7657, allocations: 0 / 0.8786 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7657, allocations: 0 / 0.8786 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7657, allocations: 4 kB / 0.8786 GB, free: 13.61 MB / 0.6544 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.0005212/0.7663, allocations: 317.9 kB / 0.8789 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7663, allocations: 8.031 kB / 0.8789 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.7664, allocations: 42.69 kB / 0.879 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.7668, allocations: 40.84 kB / 0.879 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7669, allocations: 110.5 kB / 0.8791 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7669, allocations: 9 kB / 0.8791 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.7669, allocations: 12 kB / 0.8791 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.7671, allocations: 77.64 kB / 0.8792 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7671, allocations: 0 / 0.8792 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7672, allocations: 8 kB / 0.8792 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7672, allocations: 0 / 0.8792 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.7673, allocations: 45.2 kB / 0.8792 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.7675, allocations: 160.6 kB / 0.8794 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.7677, allocations: 94.67 kB / 0.8795 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.7678, allocations: 28.84 kB / 0.8795 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.768, allocations: 27.97 kB / 0.8795 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.768, allocations: 38.5 kB / 0.8796 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.768, allocations: 0 / 0.8796 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.7694, allocations: 481.4 kB / 0.88 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7694, allocations: 55.41 kB / 0.8801 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.7695, allocations: 101.8 kB / 0.8802 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.7695, allocations: 25.83 kB / 0.8802 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.7695, allocations: 88.52 kB / 0.8803 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.7696, allocations: 75.36 kB / 0.8804 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.7697, allocations: 37.72 kB / 0.8804 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7698, allocations: 320 kB / 0.8807 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.7699, allocations: 36.53 kB / 0.8807 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.77, allocations: 78.59 kB / 0.8808 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.7701, allocations: 112.8 kB / 0.8809 GB, free: 11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.7701, allocations: 0 / 0.8809 GB, free: 11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002365/0.7704, allocations: 163.8 kB / 0.8811 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7704, allocations: 4 kB / 0.8811 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7704, allocations: 4.875 kB / 0.8811 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7704, allocations: 0 / 0.8811 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.7706, allocations: 39.92 kB / 0.8811 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7706, allocations: 0 / 0.8811 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.7707, allocations: 11.94 kB / 0.8811 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.7707, allocations: 8 kB / 0.8812 GB, free: 10.77 MB / 0.6544 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 9.985e-05/0.7708, allocations: 123.8 kB / 0.8813 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.7708, allocations: 19.88 kB / 0.8813 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.7708, allocations: 16.47 kB / 0.8813 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7708, allocations: 3.938 kB / 0.8813 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.7709, allocations: 7.812 kB / 0.8813 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.7709, allocations: 3.938 kB / 0.8813 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.771, allocations: 164.7 kB / 0.8815 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.771, allocations: 0 / 0.8815 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.7712, allocations: 35.98 kB / 0.8815 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7712, allocations: 4 kB / 0.8815 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7712, allocations: 0 / 0.8815 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7712, allocations: 0 / 0.8815 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7712, allocations: 0 / 0.8815 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.7716, allocations: 212.8 kB / 0.8817 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.7716, allocations: 15.94 kB / 0.8817 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.7716, allocations: 4.062 kB / 0.8817 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7718, allocations: 15.98 kB / 0.8818 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.7718, allocations: 11.92 kB / 0.8818 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7718, allocations: 8 kB / 0.8818 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.7719, allocations: 79.28 kB / 0.8818 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7719, allocations: 0 / 0.8818 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002163/0.7721, allocations: 24 kB / 0.8819 GB, free: 9.973 MB / 0.6544 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.000642/0.7727, allocations: 0.7589 MB / 0.8826 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.7729, allocations: 95.95 kB / 0.8827 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.7729, allocations: 4 kB / 0.8827 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.773, allocations: 48.94 kB / 0.8828 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7733, allocations: 17.81 kB / 0.8828 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.7755, allocations: 1.821 MB / 0.8845 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.776, allocations: 0.7047 MB / 0.8852 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.7761, allocations: 24.62 kB / 0.8853 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.7761, allocations: 23.44 kB / 0.8853 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.7761, allocations: 0 / 0.8853 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.8103, allocations: 2.649 MB / 0.8879 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.02, allocations: 5 kB / 0.8879 GB, free: 3.816 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.761438972083852] Failed to read output from testmodel.py, exit status != 0: 12.125503347953781 12.144401751 11.375253684 Calling exit ...