Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.7 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009196/0.0009195, allocations: 180.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007753, allocations: 88.23 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006198, allocations: 11.47 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.277, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001459/0.2785, allocations: 1.041 MB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6384/0.9169, allocations: 134.5 MB / 1.112 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.917, allocations: 7.938 kB / 1.112 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.917, allocations: 3.234 kB / 1.112 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.9172, allocations: 17.36 kB / 1.112 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.918, allocations: 286.5 kB / 1.113 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.9181, allocations: 71.73 kB / 1.113 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.9182, allocations: 4.25 kB / 1.113 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.9182, allocations: 31.92 kB / 1.113 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.9184, allocations: 31.75 kB / 1.113 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.9184, allocations: 3.938 kB / 1.113 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009502/0.9193, allocations: 490.8 kB / 1.113 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.9194, allocations: 17.66 kB / 1.113 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.9196, allocations: 45.5 kB / 1.113 GB, free: 18.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.9198, allocations: 118.5 kB / 1.114 GB, free: 18.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9198, allocations: 2.047 kB / 1.114 GB, free: 18.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9198, allocations: 0 / 1.114 GB, free: 18.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9198, allocations: 0 / 1.114 GB, free: 18.51 MB / 0.698 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.0004855/0.9203, allocations: 374.6 kB / 1.114 GB, free: 18.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9204, allocations: 9.906 kB / 1.114 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.9208, allocations: 37.89 kB / 1.114 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.9209, allocations: 168.7 kB / 1.114 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.921, allocations: 7.375 kB / 1.114 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.921, allocations: 14.52 kB / 1.114 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.9212, allocations: 73.94 kB / 1.114 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.9212, allocations: 0 / 1.114 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.9212, allocations: 4.688 kB / 1.114 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.9213, allocations: 2.016 kB / 1.114 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.9214, allocations: 49.05 kB / 1.114 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.9216, allocations: 183.2 kB / 1.114 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.9218, allocations: 95.12 kB / 1.114 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.9219, allocations: 31.59 kB / 1.115 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.9221, allocations: 184.6 kB / 1.115 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.9222, allocations: 32.53 kB / 1.115 GB, free: 17.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.9222, allocations: 4 kB / 1.115 GB, free: 17.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001398/0.9236, allocations: 0.5391 MB / 1.115 GB, free: 17.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.9236, allocations: 53.72 kB / 1.115 GB, free: 17.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.9237, allocations: 101.7 kB / 1.115 GB, free: 17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.9237, allocations: 29.98 kB / 1.115 GB, free: 16.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.9238, allocations: 81.86 kB / 1.116 GB, free: 16.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.9238, allocations: 67.31 kB / 1.116 GB, free: 16.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.9238, allocations: 9 kB / 1.116 GB, free: 16.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.924, allocations: 323.4 kB / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.924, allocations: 42.3 kB / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.9241, allocations: 72.92 kB / 1.116 GB, free: 16.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.9243, allocations: 121 kB / 1.116 GB, free: 16.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.9243, allocations: 0 / 1.116 GB, free: 16.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000213/0.9245, allocations: 152.6 kB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9245, allocations: 7.859 kB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9246, allocations: 1.375 kB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9246, allocations: 1.375 kB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.9248, allocations: 39.88 kB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9248, allocations: 5.75 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.9248, allocations: 10.38 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9249, allocations: 6.078 kB / 1.116 GB, free: 16.39 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.925, allocations: 127.9 kB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.925, allocations: 9.797 kB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.925, allocations: 17.89 kB / 1.116 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.925, allocations: 2.281 kB / 1.116 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.925, allocations: 1.531 kB / 1.116 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.9251, allocations: 5.438 kB / 1.116 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.9252, allocations: 201.1 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9252, allocations: 0.6094 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.9255, allocations: 40.94 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9255, allocations: 0 / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.9255, allocations: 1.438 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9255, allocations: 1.609 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9255, allocations: 1 kB / 1.117 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.9258, allocations: 209.6 kB / 1.117 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.9259, allocations: 102.6 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.9259, allocations: 2.062 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.9261, allocations: 8.781 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.9261, allocations: 12.23 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.9261, allocations: 9.109 kB / 1.117 GB, free: 15.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.9262, allocations: 80.34 kB / 1.117 GB, free: 15.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9262, allocations: 0 / 1.117 GB, free: 15.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002185/0.9264, allocations: 26.3 kB / 1.117 GB, free: 15.8 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.9266, allocations: 111.1 kB / 1.117 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.9268, allocations: 107.2 kB / 1.117 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9268, allocations: 1.156 kB / 1.117 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.732e-05/0.9269, allocations: 55.02 kB / 1.117 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.9271, allocations: 19.02 kB / 1.117 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.928, allocations: 0.6083 MB / 1.118 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.9283, allocations: 0.7027 MB / 1.119 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.9284, allocations: 28.36 kB / 1.119 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.9285, allocations: 15.03 kB / 1.119 GB, free: 14.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9285, allocations: 1.75 kB / 1.119 GB, free: 14.55 MB / 0.698 GB Notification: Performance of Templates: time 0.00353/0.932, allocations: 1.044 MB / 1.12 GB, free: 14.46 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)