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.001441/0.001441, allocations: 105 kB / 20.48 MB, free: 1.488 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.001465/0.001465, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.5/1.5, allocations: 230.6 MB / 257.6 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.9593/0.9593, allocations: 150 MB / 464 MB, free: 10.52 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.002003/0.002003, allocations: 62.31 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2, allocations: 89.18 MB / 0.7291 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002681/0.2027, allocations: 1.346 MB / 0.7304 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6363/0.839, allocations: 151.4 MB / 0.8783 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.8391, allocations: 0 / 0.8783 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.385e-05/0.8392, allocations: 7.922 kB / 0.8783 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.8394, allocations: 19.91 kB / 0.8783 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.841, allocations: 334.6 kB / 0.8786 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.8412, allocations: 67.75 kB / 0.8787 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.8412, allocations: 8 kB / 0.8787 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.8413, allocations: 33.92 kB / 0.8787 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.8414, allocations: 31.89 kB / 0.8787 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.8414, allocations: 4 kB / 0.8787 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.8426, allocations: 446.5 kB / 0.8792 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.8426, allocations: 15.97 kB / 0.8792 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.8427, allocations: 27.88 kB / 0.8792 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.8432, allocations: 161.6 kB / 0.8794 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8432, allocations: 0 / 0.8794 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8432, allocations: 0 / 0.8794 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.8432, allocations: 4 kB / 0.8794 GB, free: 13.56 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.000607/0.8438, allocations: 313.9 kB / 0.8797 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.8439, allocations: 8.031 kB / 0.8797 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.8439, allocations: 4.188 kB / 0.8797 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.8439, allocations: 42.67 kB / 0.8797 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.8444, allocations: 36.86 kB / 0.8798 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.8445, allocations: 110.2 kB / 0.8799 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.8446, allocations: 12 kB / 0.8799 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.8446, allocations: 19.92 kB / 0.8799 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.8448, allocations: 75.36 kB / 0.88 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8448, allocations: 0 / 0.88 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.8449, allocations: 0 / 0.88 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8449, allocations: 0 / 0.88 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.845, allocations: 57.23 kB / 0.88 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.8452, allocations: 165.3 kB / 0.8802 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.8454, allocations: 82.61 kB / 0.8803 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.8455, allocations: 32.94 kB / 0.8803 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.8457, allocations: 23.97 kB / 0.8803 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.8457, allocations: 38.5 kB / 0.8804 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.8457, allocations: 0 / 0.8804 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001436/0.8472, allocations: 486.8 kB / 0.8808 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.8472, allocations: 51.41 kB / 0.8809 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.8473, allocations: 105.8 kB / 0.881 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.8473, allocations: 33.7 kB / 0.881 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.8474, allocations: 80.52 kB / 0.8811 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.8475, allocations: 71.39 kB / 0.8811 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.8476, allocations: 37.7 kB / 0.8812 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8477, allocations: 322.8 kB / 0.8815 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.8478, allocations: 33.11 kB / 0.8815 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8479, allocations: 78.52 kB / 0.8816 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.8481, allocations: 116.9 kB / 0.8817 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8481, allocations: 0 / 0.8817 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002462/0.8483, allocations: 150.7 kB / 0.8818 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8483, allocations: 8 kB / 0.8819 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8484, allocations: 0 / 0.8819 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8484, allocations: 4 kB / 0.8819 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8486, allocations: 43.91 kB / 0.8819 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8486, allocations: 13.5 kB / 0.8819 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.8486, allocations: 0.75 kB / 0.8819 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.8487, allocations: 15.94 kB / 0.8819 GB, free: 10.72 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 0.000117/0.8488, allocations: 120 kB / 0.882 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.8488, allocations: 7.953 kB / 0.8821 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.8489, allocations: 16.47 kB / 0.8821 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8489, allocations: 7.938 kB / 0.8821 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.8489, allocations: 3.938 kB / 0.8821 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8489, allocations: 3.984 kB / 0.8821 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.8491, allocations: 172.3 kB / 0.8822 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8491, allocations: 0 / 0.8822 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.8493, allocations: 35.98 kB / 0.8823 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8493, allocations: 0 / 0.8823 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.8493, allocations: 4 kB / 0.8823 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8493, allocations: 4 kB / 0.8823 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8493, allocations: 3.938 kB / 0.8823 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.8496, allocations: 208.9 kB / 0.8825 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.8497, allocations: 15.94 kB / 0.8825 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.8497, allocations: 8.062 kB / 0.8825 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.8498, allocations: 4 kB / 0.8825 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.8499, allocations: 15.92 kB / 0.8825 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.8499, allocations: 7.984 kB / 0.8825 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.8499, allocations: 75.28 kB / 0.8826 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8499, allocations: 0 / 0.8826 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002293/0.8501, allocations: 32 kB / 0.8826 GB, free: 9.926 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.0006864/0.8508, allocations: 0.7587 MB / 0.8834 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.851, allocations: 95.95 kB / 0.8835 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8511, allocations: 0 / 0.8835 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.8511, allocations: 49.12 kB / 0.8835 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.8514, allocations: 23.92 kB / 0.8835 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.8537, allocations: 1.821 MB / 0.8853 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.854, allocations: 0.6969 MB / 0.886 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.8541, allocations: 20.64 kB / 0.886 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.8542, allocations: 31.36 kB / 0.8861 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of SimCode: time 1.173e-06/0.8542, allocations: 4 kB / 0.8861 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.8815, allocations: 2.666 MB / 0.8887 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.38, allocations: 4.219 kB / 0.8887 GB, free: 3.77 MB / 0.6544 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.34614329301985] Failed to read output from testmodel.py, exit status != 0: 12.543927685008384 12.568108882 11.720097889 Calling exit ...