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.001326/0.001326, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002415/0.002415, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.613/1.613, allocations: 230.6 MB / 257.6 MB, free: 7.789 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 1.047/1.047, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="cs",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.002111/0.002111, allocations: 71.53 kB / 0.6419 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1842, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003251/0.1875, allocations: 1.32 MB / 0.7303 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5292/0.7167, allocations: 130 MB / 0.8572 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.7168, allocations: 3.938 kB / 0.8572 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.7168, allocations: 3.938 kB / 0.8572 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.717, allocations: 14.3 kB / 0.8572 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.7184, allocations: 326.5 kB / 0.8575 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.7186, allocations: 63.72 kB / 0.8576 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.7187, allocations: 10.75 kB / 0.8576 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.7187, allocations: 32.08 kB / 0.8576 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.7189, allocations: 33.3 kB / 0.8577 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7189, allocations: 2.781 kB / 0.8577 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.72, allocations: 378.5 kB / 0.858 GB, free: 380 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.7201, allocations: 20.81 kB / 0.8581 GB, free: 364 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.7201, allocations: 19 kB / 0.8581 GB, free: 356 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.7206, allocations: 159.9 kB / 0.8582 GB, free: 276 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7206, allocations: 0 / 0.8582 GB, free: 276 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7206, allocations: 0 / 0.8582 GB, free: 276 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.7206, allocations: 4 kB / 0.8582 GB, free: 272 kB / 0.6231 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.0006577/0.7212, allocations: 317.8 kB / 0.8585 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7213, allocations: 11.28 kB / 0.8585 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.7213, allocations: 2.906 kB / 0.8586 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.7214, allocations: 37.47 kB / 0.8586 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.7218, allocations: 38.22 kB / 0.8586 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.7219, allocations: 116.6 kB / 0.8587 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7219, allocations: 7.031 kB / 0.8587 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.722, allocations: 13.44 kB / 0.8588 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.7222, allocations: 207.2 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.7222, allocations: 0 / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7223, allocations: 1.219 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7223, allocations: 2.188 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.7224, allocations: 46.77 kB / 0.859 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.7226, allocations: 160.7 kB / 0.8592 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.7228, allocations: 88.75 kB / 0.8592 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.7228, allocations: 30.25 kB / 0.8593 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.723, allocations: 28.14 kB / 0.8593 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.723, allocations: 30.56 kB / 0.8593 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.723, allocations: 0 / 0.8593 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001504/0.7245, allocations: 486.9 kB / 0.8598 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.7246, allocations: 58.16 kB / 0.8598 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.7247, allocations: 100 kB / 0.8599 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.7247, allocations: 32.67 kB / 0.86 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.7248, allocations: 82.95 kB / 0.86 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.7249, allocations: 75.59 kB / 0.8601 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.7249, allocations: 34.91 kB / 0.8602 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7251, allocations: 321.3 kB / 0.8605 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.7252, allocations: 39.75 kB / 0.8605 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.7253, allocations: 67.41 kB / 0.8606 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.7255, allocations: 114.3 kB / 0.8607 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7255, allocations: 128 / 0.8607 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000247/0.7257, allocations: 162.4 kB / 0.8608 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7258, allocations: 4 kB / 0.8608 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7258, allocations: 0 / 0.8608 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7258, allocations: 4 kB / 0.8608 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.726, allocations: 39.92 kB / 0.8609 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.726, allocations: 3.938 kB / 0.8609 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.7261, allocations: 10.94 kB / 0.8609 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.7261, allocations: 8 kB / 0.8609 GB, free: 13.73 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.0001182/0.7262, allocations: 119.8 kB / 0.861 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.7262, allocations: 11.89 kB / 0.861 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.7263, allocations: 28.45 kB / 0.861 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7263, allocations: 0 / 0.861 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.7263, allocations: 3.938 kB / 0.861 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7263, allocations: 0 / 0.861 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.7265, allocations: 160.7 kB / 0.8612 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7265, allocations: 0 / 0.8612 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.7267, allocations: 43.91 kB / 0.8612 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.7267, allocations: 0 / 0.8612 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.7267, allocations: 11.94 kB / 0.8613 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7267, allocations: 0 / 0.8613 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.7267, allocations: 3.938 kB / 0.8613 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.7271, allocations: 201 kB / 0.8615 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.7272, allocations: 20 kB / 0.8615 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.7272, allocations: 0 / 0.8615 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.7273, allocations: 11.98 kB / 0.8615 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.7273, allocations: 11.92 kB / 0.8615 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.7273, allocations: 8 kB / 0.8615 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.7274, allocations: 87.2 kB / 0.8616 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7274, allocations: 0 / 0.8616 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002335/0.7276, allocations: 28 kB / 0.8616 GB, free: 12.93 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.0006985/0.7283, allocations: 0.7585 MB / 0.8624 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.7286, allocations: 103.9 kB / 0.8625 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.7286, allocations: 0 / 0.8625 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.7286, allocations: 49.3 kB / 0.8625 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.729, allocations: 25.77 kB / 0.8625 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.7312, allocations: 1.808 MB / 0.8643 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.949e-05/0.7312, allocations: 87.98 kB / 0.8644 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.7314, allocations: 20.64 kB / 0.8644 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.7314, allocations: 27.42 kB / 0.8644 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.7314, allocations: 0 / 0.8644 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.7565, allocations: 2.687 MB / 0.867 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.55, allocations: 12.27 kB / 0.8671 GB, free: 7.391 MB / 0.6387 GB " [Timeout remaining time 647] (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: 16.661184838972986] Failed to read output from testmodel.py, exit status != 0: 12.73147178196814 12.756216361 12.031651173 Calling exit ...