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.00127/0.00127, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001013/0.001013, allocations: 173.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.9373/0.9373, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5642/0.5642, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5541 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.026e-05, allocations: 6.109 kB / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001966/0.001996, allocations: 1.33 MB / 0.5555 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.4372/0.4392, allocations: 130.1 MB / 0.6825 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.4392, allocations: 2.875 kB / 0.6825 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.4393, allocations: 6.094 kB / 0.6825 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.4394, allocations: 14.92 kB / 0.6825 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009598/0.4403, allocations: 333.6 kB / 0.6828 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.4405, allocations: 68.3 kB / 0.6829 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.4405, allocations: 3.938 kB / 0.6829 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.4406, allocations: 43.95 kB / 0.6829 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.4407, allocations: 36.7 kB / 0.683 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4407, allocations: 2.594 kB / 0.683 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.4414, allocations: 374.2 kB / 0.6833 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.4414, allocations: 16.81 kB / 0.6833 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.4414, allocations: 23.56 kB / 0.6833 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.4417, allocations: 172.8 kB / 0.6835 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4417, allocations: 0 / 0.6835 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4417, allocations: 1.156 kB / 0.6835 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4417, allocations: 0 / 0.6835 GB, free: 41.84 MB / 0.6355 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.0003878/0.4421, allocations: 319.5 kB / 0.6838 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.4422, allocations: 12.48 kB / 0.6838 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.4422, allocations: 37.08 kB / 0.6839 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.4425, allocations: 35.81 kB / 0.6839 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.499e-05/0.4426, allocations: 107.9 kB / 0.684 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4426, allocations: 7.125 kB / 0.684 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.4426, allocations: 13.52 kB / 0.684 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4428, allocations: 211.4 kB / 0.6842 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4428, allocations: 0.5625 kB / 0.6842 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4428, allocations: 2.469 kB / 0.6842 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4428, allocations: 3.188 kB / 0.6842 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.4429, allocations: 45.23 kB / 0.6843 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.443, allocations: 157.6 kB / 0.6844 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4432, allocations: 82.86 kB / 0.6845 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.4432, allocations: 30.53 kB / 0.6845 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.4434, allocations: 25.98 kB / 0.6846 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4434, allocations: 44.47 kB / 0.6846 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.475e-06/0.4434, allocations: 1.312 kB / 0.6846 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008928/0.4443, allocations: 477.3 kB / 0.6851 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.4443, allocations: 54.84 kB / 0.6851 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/0.4443, allocations: 97.3 kB / 0.6852 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4444, allocations: 32.42 kB / 0.6852 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.107e-05/0.4444, allocations: 81.58 kB / 0.6853 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4444, allocations: 73.34 kB / 0.6854 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4444, allocations: 36 kB / 0.6854 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.4445, allocations: 325.6 kB / 0.6857 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.4445, allocations: 38.86 kB / 0.6858 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.4446, allocations: 74.58 kB / 0.6858 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/0.4447, allocations: 122.9 kB / 0.686 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4447, allocations: 0 / 0.686 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001373/0.4448, allocations: 157.6 kB / 0.6861 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4448, allocations: 7.938 kB / 0.6861 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4448, allocations: 0 / 0.6861 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4448, allocations: 4.094 kB / 0.6861 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.445, allocations: 38.91 kB / 0.6861 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.445, allocations: 3.656 kB / 0.6862 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.445, allocations: 9.75 kB / 0.6862 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.445, allocations: 11.44 kB / 0.6862 GB, free: 40.05 MB / 0.6355 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 5.318e-05/0.4451, allocations: 124.5 kB / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.4451, allocations: 5.781 kB / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.4451, allocations: 16.75 kB / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4451, allocations: 2.781 kB / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4451, allocations: 4.141 kB / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4451, allocations: 0 / 0.6863 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.337e-05/0.4452, allocations: 159.8 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4452, allocations: 3.781 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4453, allocations: 34.77 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4453, allocations: 7.641 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.4453, allocations: 3.312 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4453, allocations: 2.781 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4453, allocations: 1.094 kB / 0.6865 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.4455, allocations: 214.2 kB / 0.6867 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.4456, allocations: 18.83 kB / 0.6867 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.4456, allocations: 4.25 kB / 0.6868 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.4457, allocations: 3.656 kB / 0.6868 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.4457, allocations: 16.91 kB / 0.6868 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4457, allocations: 6.188 kB / 0.6868 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.4457, allocations: 82.75 kB / 0.6869 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4457, allocations: 1.203 kB / 0.6869 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001438/0.4458, allocations: 25.88 kB / 0.6869 GB, free: 39.62 MB / 0.6355 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.0003123/0.4462, allocations: 0.7529 MB / 0.6876 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.4463, allocations: 102.1 kB / 0.6877 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4463, allocations: 5.219 kB / 0.6877 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.4463, allocations: 45.27 kB / 0.6878 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4466, allocations: 16.98 kB / 0.6878 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4476, allocations: 1.725 MB / 0.6895 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.4476, allocations: 84.16 kB / 0.6895 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.775e-05/0.4477, allocations: 21.05 kB / 0.6896 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.4478, allocations: 28.12 kB / 0.6896 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4478, allocations: 0 / 0.6896 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.4677, allocations: 3.105 MB / 0.6926 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.683, allocations: 4.109 kB / 0.6926 GB, free: 36.91 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.258246001787484] Failed to read output from testmodel.py, exit status != 0: 7.764723503962159 7.778394142 7.334715949 Calling exit ...