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.001412/0.001412, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009103/0.0009103, allocations: 173 kB / 23.49 MB, free: 1.059 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.001832/0.001832, allocations: 229.2 kB / 260.5 MB, free: 12.88 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.7713/0.7713, allocations: 138.4 MB / 455.4 MB, free: 1.504 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.214e-06/2.214e-06, allocations: 0 / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.961e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002579/0.002608, allocations: 1.371 MB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3538/0.3564, allocations: 143.7 MB / 0.6966 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.3565, allocations: 0 / 0.6966 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.3565, allocations: 7.922 kB / 0.6966 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.3566, allocations: 7.922 kB / 0.6967 GB, free: 12 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.3575, allocations: 346.2 kB / 0.697 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.3576, allocations: 63.77 kB / 0.697 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.3576, allocations: 4 kB / 0.697 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.3577, allocations: 47.88 kB / 0.6971 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.3578, allocations: 27.89 kB / 0.6971 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3578, allocations: 4 kB / 0.6971 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005244/0.3583, allocations: 374.5 kB / 0.6975 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.3584, allocations: 15.97 kB / 0.6975 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.3584, allocations: 31.91 kB / 0.6975 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3586, allocations: 167.5 kB / 0.6977 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3586, allocations: 4 kB / 0.6977 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3586, allocations: 0 / 0.6977 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3587, allocations: 0 / 0.6977 GB, free: 10.93 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.000354/0.359, allocations: 418.7 kB / 0.6981 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.359, allocations: 8.75 kB / 0.6981 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.3594, allocations: 60.61 kB / 0.6982 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.158e-05/0.3594, allocations: 116.6 kB / 0.6983 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3594, allocations: 4.375 kB / 0.6983 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3595, allocations: 16.5 kB / 0.6983 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3596, allocations: 202 kB / 0.6985 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3596, allocations: 0 / 0.6985 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3596, allocations: 4 kB / 0.6985 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.3596, allocations: 4 kB / 0.6985 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.3597, allocations: 31.95 kB / 0.6985 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.3598, allocations: 136.5 kB / 0.6986 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3599, allocations: 83.94 kB / 0.6987 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.36, allocations: 27.67 kB / 0.6988 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3601, allocations: 27.98 kB / 0.6988 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3601, allocations: 33.39 kB / 0.6988 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.3601, allocations: 0 / 0.6988 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.000823/0.3609, allocations: 465.8 kB / 0.6993 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.361, allocations: 55.41 kB / 0.6993 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.361, allocations: 153.9 kB / 0.6995 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.361, allocations: 29.7 kB / 0.6995 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.361, allocations: 127.2 kB / 0.6996 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3611, allocations: 75.38 kB / 0.6997 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3611, allocations: 47.31 kB / 0.6997 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.3611, allocations: 0.4923 MB / 0.7002 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.3612, allocations: 19.98 kB / 0.7002 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.3612, allocations: 70.84 kB / 0.7003 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.772e-05/0.3613, allocations: 114 kB / 0.7004 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3613, allocations: 0 / 0.7004 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000176/0.3615, allocations: 138.5 kB / 0.7005 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3615, allocations: 4 kB / 0.7005 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3615, allocations: 4 kB / 0.7005 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3615, allocations: 0 / 0.7005 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3616, allocations: 39.92 kB / 0.7006 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3616, allocations: 4.938 kB / 0.7006 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.3617, allocations: 4 kB / 0.7006 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3617, allocations: 4 kB / 0.7006 GB, free: 7.684 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.12e-05/0.3617, allocations: 180.4 kB / 0.7008 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.3618, allocations: 15.89 kB / 0.7008 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3618, allocations: 20.47 kB / 0.7008 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3618, allocations: 0 / 0.7008 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3618, allocations: 0 / 0.7008 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3618, allocations: 0 / 0.7008 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.513e-05/0.3619, allocations: 148.2 kB / 0.7009 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3619, allocations: 0 / 0.7009 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.362, allocations: 31.98 kB / 0.701 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.362, allocations: 4 kB / 0.701 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.362, allocations: 8 kB / 0.701 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.362, allocations: 0 / 0.701 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.362, allocations: 0 / 0.701 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3622, allocations: 190 kB / 0.7012 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3622, allocations: 15.94 kB / 0.7012 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3622, allocations: 4 kB / 0.7012 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.3623, allocations: 8 kB / 0.7012 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3623, allocations: 7.984 kB / 0.7012 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3623, allocations: 11.98 kB / 0.7012 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.3623, allocations: 123.2 kB / 0.7013 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3623, allocations: 4.094 kB / 0.7013 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001487/0.3625, allocations: 28 kB / 0.7014 GB, free: 6.84 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 0.0001027/0.3626, allocations: 115.1 kB / 0.7015 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3627, allocations: 91.53 kB / 0.7015 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3627, allocations: 0 / 0.7015 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.3628, allocations: 59.59 kB / 0.7016 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.363, allocations: 40.52 kB / 0.7016 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.3637, allocations: 407.5 kB / 0.702 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.3637, allocations: 70.16 kB / 0.7021 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.96e-05/0.3638, allocations: 20.64 kB / 0.7021 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.3638, allocations: 16.5 kB / 0.7021 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of SimCode: time 6.72e-07/0.3638, allocations: 0 / 0.7021 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of Templates: time 0.003058/0.3669, allocations: 1.435 MB / 0.7035 GB, free: 4.617 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.154406344983727]