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.001289/0.001289, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001398/0.001398, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.002437/0.002437, allocations: 291.1 kB / 313.5 MB, free: 2.613 MB / 238.1 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 1.14/1.14, allocations: 180.6 MB / 0.5377 GB, free: 14.68 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002939/0.002939, allocations: 100.2 kB / 0.7407 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1653, allocations: 95.39 MB / 0.8338 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002777/0.1681, allocations: 1.323 MB / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.3338, allocations: 130.1 MB / 0.9621 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.3338, allocations: 0 / 0.9621 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 5.904e-05/0.3339, allocations: 7.922 kB / 0.9621 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.334, allocations: 15.84 kB / 0.9622 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3351, allocations: 326.6 kB / 0.9625 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3353, allocations: 67.78 kB / 0.9625 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.3353, allocations: 7.984 kB / 0.9625 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.3354, allocations: 31.91 kB / 0.9626 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3355, allocations: 31.89 kB / 0.9626 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3355, allocations: 7.938 kB / 0.9626 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008134/0.3363, allocations: 374.7 kB / 0.963 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.3364, allocations: 19.91 kB / 0.963 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.3364, allocations: 23.92 kB / 0.963 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.3368, allocations: 147.6 kB / 0.9632 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3368, allocations: 0 / 0.9632 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3368, allocations: 3.938 kB / 0.9632 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3368, allocations: 0 / 0.9632 GB, free: 2.922 MB / 0.7012 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.000506/0.3373, allocations: 321.8 kB / 0.9635 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3373, allocations: 13.34 kB / 0.9635 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.3378, allocations: 36.91 kB / 0.9635 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3379, allocations: 102.5 kB / 0.9636 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3379, allocations: 11.94 kB / 0.9636 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.338, allocations: 7.953 kB / 0.9636 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3382, allocations: 206.2 kB / 0.9638 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3382, allocations: 0 / 0.9638 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3382, allocations: 8 kB / 0.9638 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3383, allocations: 0 / 0.9638 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3384, allocations: 51.89 kB / 0.9639 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.3385, allocations: 137.2 kB / 0.964 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3387, allocations: 86.62 kB / 0.9641 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.3388, allocations: 28.84 kB / 0.9641 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.339, allocations: 23.98 kB / 0.9641 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.339, allocations: 34.5 kB / 0.9642 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.339, allocations: 0 / 0.9642 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001331/0.3404, allocations: 488.1 kB / 0.9646 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3404, allocations: 55.41 kB / 0.9647 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.3405, allocations: 93.86 kB / 0.9648 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3405, allocations: 29.7 kB / 0.9648 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3406, allocations: 80.52 kB / 0.9649 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.3406, allocations: 79.36 kB / 0.965 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.3407, allocations: 41.84 kB / 0.965 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3409, allocations: 326.8 kB / 0.9653 GB, free: 500 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.3409, allocations: 35.97 kB / 0.9654 GB, free: 464 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.341, allocations: 75.34 kB / 0.9654 GB, free: 376 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3412, allocations: 107.4 kB / 0.9655 GB, free: 256 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3412, allocations: 4 kB / 0.9655 GB, free: 252 kB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002432/0.3414, allocations: 153.5 kB / 0.9657 GB, free: 92 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3415, allocations: 6.344 kB / 0.9657 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3415, allocations: 0 / 0.9657 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3415, allocations: 4 kB / 0.9657 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3417, allocations: 43.92 kB / 0.9657 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3417, allocations: 7.938 kB / 0.9657 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.3417, allocations: 8 kB / 0.9657 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3417, allocations: 7.938 kB / 0.9658 GB, free: 16 kB / 0.7012 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.0001318/0.3419, allocations: 122.4 kB / 0.9659 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3419, allocations: 11.94 kB / 0.9659 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.3419, allocations: 20.59 kB / 0.9659 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.342, allocations: 0 / 0.9659 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.342, allocations: 4 kB / 0.9659 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.342, allocations: 3.938 kB / 0.9659 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3421, allocations: 133.2 kB / 0.966 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3421, allocations: 4 kB / 0.966 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.3423, allocations: 35.98 kB / 0.9661 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3423, allocations: 4 kB / 0.9661 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3423, allocations: 0 / 0.9661 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3423, allocations: 0 / 0.9661 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3423, allocations: 0 / 0.9661 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3427, allocations: 220.8 kB / 0.9663 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.3427, allocations: 11.94 kB / 0.9663 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3427, allocations: 8.062 kB / 0.9663 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3429, allocations: 8 kB / 0.9663 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3429, allocations: 19.95 kB / 0.9663 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3429, allocations: 8 kB / 0.9663 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.3429, allocations: 75.28 kB / 0.9664 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3429, allocations: 0 / 0.9664 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002292/0.3432, allocations: 28 kB / 0.9664 GB, free: 15.25 MB / 0.7169 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.0001443/0.3433, allocations: 111.1 kB / 0.9665 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3435, allocations: 102.5 kB / 0.9666 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3435, allocations: 4.094 kB / 0.9666 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.3436, allocations: 47.92 kB / 0.9667 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3439, allocations: 8 kB / 0.9667 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.3447, allocations: 0.5427 MB / 0.9672 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.3448, allocations: 84.25 kB / 0.9673 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.3449, allocations: 19.44 kB / 0.9673 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.3449, allocations: 0 / 0.9673 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of Templates: time 0.003265/0.3481, allocations: 1.342 MB / 0.9686 GB, free: 12.93 MB / 0.7169 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.445391702931374] Failed to read output from testmodel.py, exit status != 0: 0.3555454397574067 0.6674759170000001 0.030263732 Calling exit ...