Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008896/0.0008896, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001053/0.001053, allocations: 181 kB / 23.36 MB, free: 1.133 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.9765/0.9765, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001687/0.001687, allocations: 245.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.716/0.716, allocations: 138.4 MB / 402.2 MB, free: 0.5156 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.844e-05, allocations: 3.609 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.003522/0.003551, allocations: 1.374 MB / 463.6 MB, free: 24 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1471/0.1507, allocations: 143.4 MB / 0.5928 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1507, allocations: 0 / 0.5928 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.1508, allocations: 7.938 kB / 0.5928 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1509, allocations: 11.91 kB / 0.5928 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1519, allocations: 338.3 kB / 0.5931 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.152, allocations: 67.7 kB / 0.5932 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.1521, allocations: 4 kB / 0.5932 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.1522, allocations: 39.94 kB / 0.5932 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1523, allocations: 31.89 kB / 0.5933 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1523, allocations: 0 / 0.5933 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.1529, allocations: 382.5 kB / 0.5936 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.1529, allocations: 27.91 kB / 0.5937 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.1529, allocations: 16 kB / 0.5937 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1532, allocations: 163.5 kB / 0.5938 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1532, allocations: 0 / 0.5938 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1532, allocations: 0 / 0.5938 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1532, allocations: 0 / 0.5938 GB, free: 0.6328 MB / 0.5417 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.0003316/0.1535, allocations: 294.7 kB / 0.5941 GB, free: 336 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1536, allocations: 12.75 kB / 0.5941 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.1539, allocations: 68.61 kB / 0.5942 GB, free: 256 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.1539, allocations: 109.8 kB / 0.5943 GB, free: 120 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1539, allocations: 4.375 kB / 0.5943 GB, free: 116 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.154, allocations: 20.09 kB / 0.5943 GB, free: 100 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1542, allocations: 200.9 kB / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1542, allocations: 0 / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1542, allocations: 4 kB / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1542, allocations: 0 / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.1542, allocations: 28.52 kB / 0.5945 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.1543, allocations: 82.64 kB / 0.5946 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1544, allocations: 67.22 kB / 0.5947 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.1545, allocations: 21.19 kB / 0.5947 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.1546, allocations: 35.84 kB / 0.5947 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1546, allocations: 34.56 kB / 0.5948 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1546, allocations: 0 / 0.5948 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0008541/0.1554, allocations: 498.8 kB / 0.5952 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.1555, allocations: 51.41 kB / 0.5953 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.1555, allocations: 106.6 kB / 0.5954 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1555, allocations: 29.7 kB / 0.5954 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.1556, allocations: 92.62 kB / 0.5955 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.1556, allocations: 71.38 kB / 0.5956 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1556, allocations: 37.69 kB / 0.5956 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.1557, allocations: 322.8 kB / 0.5959 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.1557, allocations: 12 kB / 0.5959 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.1558, allocations: 53.62 kB / 0.596 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.1559, allocations: 85.5 kB / 0.5961 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1559, allocations: 0 / 0.5961 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001027/0.156, allocations: 112 kB / 0.5962 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.156, allocations: 4 kB / 0.5962 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.156, allocations: 4 kB / 0.5962 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.156, allocations: 4 kB / 0.5962 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1561, allocations: 35.98 kB / 0.5962 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1561, allocations: 4 kB / 0.5962 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1561, allocations: 7.938 kB / 0.5962 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1561, allocations: 8 kB / 0.5962 GB, free: 13.95 MB / 0.5573 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.915e-05/0.1562, allocations: 120.6 kB / 0.5963 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1562, allocations: 19.92 kB / 0.5964 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.1562, allocations: 16.47 kB / 0.5964 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1562, allocations: 4 kB / 0.5964 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1562, allocations: 5.812 kB / 0.5964 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1562, allocations: 3.984 kB / 0.5964 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.489e-05/0.1563, allocations: 81.89 kB / 0.5965 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1563, allocations: 0 / 0.5965 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1564, allocations: 39.92 kB / 0.5965 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.1564, allocations: 3.938 kB / 0.5965 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1564, allocations: 8 kB / 0.5965 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1564, allocations: 0 / 0.5965 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1564, allocations: 0 / 0.5965 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1566, allocations: 153.5 kB / 0.5967 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.1566, allocations: 15.97 kB / 0.5967 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1566, allocations: 11.94 kB / 0.5967 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.1567, allocations: 8.75 kB / 0.5967 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1567, allocations: 17.84 kB / 0.5967 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1567, allocations: 7.938 kB / 0.5967 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.582e-06/0.1567, allocations: 4.859 kB / 0.5967 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1567, allocations: 0 / 0.5967 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001237/0.1568, allocations: 32 kB / 0.5968 GB, free: 13.36 MB / 0.5573 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.0001054/0.1569, allocations: 89.28 kB / 0.5969 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.157, allocations: 74.66 kB / 0.5969 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.157, allocations: 4 kB / 0.5969 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.1571, allocations: 44.75 kB / 0.597 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1572, allocations: 33.19 kB / 0.597 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.1577, allocations: 335.4 kB / 0.5973 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.1578, allocations: 68.08 kB / 0.5974 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.406e-05/0.1578, allocations: 20.64 kB / 0.5974 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.1579, allocations: 79.36 kB / 0.5975 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.1579, allocations: 4 kB / 0.5975 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of Templates: time 0.002942/0.1609, allocations: 1.629 MB / 0.5991 GB, free: 11.03 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6541358288377523]