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.001367/0.001367, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001595/0.001595, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002673/0.002673, allocations: 228.7 kB / 259.8 MB, free: 12.84 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 1.079/1.079, allocations: 138.5 MB / 454.7 MB, free: 1.461 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 2.344e-06/2.344e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.342e-05, allocations: 9.969 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.003107/0.00314, allocations: 1.321 MB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3488/0.3519, allocations: 130.1 MB / 0.6826 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.352, allocations: 0 / 0.6826 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.352, allocations: 3.938 kB / 0.6826 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.3521, allocations: 16.88 kB / 0.6826 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.3529, allocations: 334.1 kB / 0.683 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.3529, allocations: 71.72 kB / 0.683 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.353, allocations: 2.75 kB / 0.683 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.353, allocations: 41.23 kB / 0.6831 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.3531, allocations: 33.31 kB / 0.6831 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3531, allocations: 2.75 kB / 0.6831 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.3536, allocations: 385.9 kB / 0.6835 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.3537, allocations: 18.72 kB / 0.6835 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.3537, allocations: 17.39 kB / 0.6835 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.354, allocations: 168.3 kB / 0.6837 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.354, allocations: 0 / 0.6837 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.354, allocations: 0 / 0.6837 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.354, allocations: 2.906 kB / 0.6837 GB, free: 19.77 MB / 0.5105 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.0003233/0.3543, allocations: 320.4 kB / 0.684 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.3543, allocations: 13.19 kB / 0.684 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.3547, allocations: 67.03 kB / 0.6841 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.043e-05/0.3548, allocations: 104.4 kB / 0.6842 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3548, allocations: 6.688 kB / 0.6842 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3548, allocations: 12.83 kB / 0.6842 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.355, allocations: 206.5 kB / 0.6844 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.355, allocations: 0 / 0.6844 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.355, allocations: 6.312 kB / 0.6844 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.355, allocations: 0 / 0.6844 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.3551, allocations: 50.67 kB / 0.6844 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.3552, allocations: 130.4 kB / 0.6845 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3553, allocations: 89.11 kB / 0.6846 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.3554, allocations: 26.94 kB / 0.6847 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.3555, allocations: 28.33 kB / 0.6847 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3555, allocations: 41.22 kB / 0.6847 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 9.71e-07/0.3555, allocations: 0 / 0.6847 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001059/0.3566, allocations: 491.2 kB / 0.6852 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.486e-05/0.3566, allocations: 54.06 kB / 0.6852 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.546e-05/0.3567, allocations: 96.17 kB / 0.6853 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3567, allocations: 32.39 kB / 0.6854 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.111e-05/0.3567, allocations: 80.52 kB / 0.6854 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.3567, allocations: 75.8 kB / 0.6855 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.3568, allocations: 35.09 kB / 0.6855 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.3568, allocations: 325 kB / 0.6859 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3569, allocations: 41.56 kB / 0.6859 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.3569, allocations: 68.64 kB / 0.686 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.357, allocations: 118 kB / 0.6861 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.357, allocations: 0 / 0.6861 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001786/0.3572, allocations: 166.6 kB / 0.6862 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3572, allocations: 4.969 kB / 0.6862 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3572, allocations: 0 / 0.6862 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3572, allocations: 2.938 kB / 0.6862 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3574, allocations: 43.83 kB / 0.6863 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3574, allocations: 6.594 kB / 0.6863 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.3575, allocations: 4 kB / 0.6863 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3575, allocations: 5.656 kB / 0.6863 GB, free: 17.5 MB / 0.5105 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.165e-05/0.3575, allocations: 130.8 kB / 0.6864 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3575, allocations: 12.2 kB / 0.6864 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.3576, allocations: 23.02 kB / 0.6865 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3576, allocations: 0 / 0.6865 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3576, allocations: 2.625 kB / 0.6865 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3576, allocations: 0 / 0.6865 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.3577, allocations: 132.6 kB / 0.6866 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3577, allocations: 4 kB / 0.6866 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.3579, allocations: 40.67 kB / 0.6866 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3579, allocations: 0 / 0.6866 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3579, allocations: 6.531 kB / 0.6866 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3579, allocations: 0 / 0.6866 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3579, allocations: 0 / 0.6866 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3581, allocations: 215.6 kB / 0.6868 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.3582, allocations: 20.12 kB / 0.6869 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3582, allocations: 4.062 kB / 0.6869 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3583, allocations: 9.188 kB / 0.6869 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.3583, allocations: 10.09 kB / 0.6869 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3583, allocations: 14.12 kB / 0.6869 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.485e-05/0.3583, allocations: 79.22 kB / 0.687 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3583, allocations: 2.188 kB / 0.687 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002111/0.3585, allocations: 28.34 kB / 0.687 GB, free: 16.94 MB / 0.5105 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 9.379e-05/0.3586, allocations: 99.12 kB / 0.6871 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.3588, allocations: 107.7 kB / 0.6872 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3588, allocations: 96 / 0.6872 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.3589, allocations: 52.94 kB / 0.6872 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3592, allocations: 38.89 kB / 0.6873 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.3597, allocations: 415.6 kB / 0.6877 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.3597, allocations: 81.16 kB / 0.6878 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.566e-05/0.3598, allocations: 26.94 kB / 0.6878 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3599, allocations: 16.94 kB / 0.6878 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.3599, allocations: 0 / 0.6878 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.00375/0.3636, allocations: 1.435 MB / 0.6892 GB, free: 15.64 MB / 0.5105 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: 5.837931922986172]