Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001712, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.643/1.643, allocations: 251.7 MB / 0.5092 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 71.89 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5486, allocations: 104.7 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002383/0.551, allocations: 1.336 MB / 0.7258 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.6968, allocations: 148.1 MB / 0.8704 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.6969, allocations: 0 / 0.8704 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.6969, allocations: 3.984 kB / 0.8704 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.697, allocations: 23.86 kB / 0.8705 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.698, allocations: 330.6 kB / 0.8708 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.6981, allocations: 67.7 kB / 0.8708 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.6982, allocations: 4 kB / 0.8708 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.6982, allocations: 31.97 kB / 0.8709 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.6983, allocations: 35.83 kB / 0.8709 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.6983, allocations: 4 kB / 0.8709 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007579/0.6991, allocations: 410.8 kB / 0.8713 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.6992, allocations: 15.97 kB / 0.8713 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.6992, allocations: 27.86 kB / 0.8713 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.6995, allocations: 153.8 kB / 0.8715 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6995, allocations: 0 / 0.8715 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6995, allocations: 4 kB / 0.8715 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6995, allocations: 4 kB / 0.8715 GB, free: 5.93 MB / 0.6856 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.0004571/0.7, allocations: 387.4 kB / 0.8719 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.7, allocations: 12.03 kB / 0.8719 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.7004, allocations: 32.81 kB / 0.8719 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.7005, allocations: 168.3 kB / 0.8721 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.7006, allocations: 7.938 kB / 0.8721 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.7006, allocations: 15.98 kB / 0.8721 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7008, allocations: 77.66 kB / 0.8722 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7008, allocations: 0 / 0.8722 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7008, allocations: 0 / 0.8722 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7008, allocations: 0 / 0.8722 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.7009, allocations: 47.95 kB / 0.8722 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.7011, allocations: 193.4 kB / 0.8724 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.7013, allocations: 90.59 kB / 0.8725 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.7013, allocations: 36.94 kB / 0.8725 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.7015, allocations: 178.2 kB / 0.8727 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7016, allocations: 38.56 kB / 0.8727 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.7016, allocations: 0 / 0.8727 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001207/0.7028, allocations: 0.5487 MB / 0.8733 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.7028, allocations: 51.41 kB / 0.8733 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.7029, allocations: 105.8 kB / 0.8734 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.7029, allocations: 33.7 kB / 0.8734 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.703, allocations: 80.64 kB / 0.8735 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.703, allocations: 74.94 kB / 0.8736 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.7031, allocations: 37.7 kB / 0.8736 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.7032, allocations: 322.8 kB / 0.8739 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.7033, allocations: 35.98 kB / 0.874 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.7034, allocations: 67.41 kB / 0.874 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.7035, allocations: 119.3 kB / 0.8742 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7035, allocations: 0 / 0.8742 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002092/0.7037, allocations: 161.4 kB / 0.8743 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7038, allocations: 8 kB / 0.8743 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7038, allocations: 0 / 0.8743 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7038, allocations: 4 kB / 0.8743 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.704, allocations: 31.98 kB / 0.8743 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.704, allocations: 7.938 kB / 0.8744 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.704, allocations: 7.938 kB / 0.8744 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7041, allocations: 8 kB / 0.8744 GB, free: 2.664 MB / 0.6856 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 8.148e-05/0.7041, allocations: 121.8 kB / 0.8745 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.7042, allocations: 7.906 kB / 0.8745 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.7042, allocations: 16.44 kB / 0.8745 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7042, allocations: 4 kB / 0.8745 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7042, allocations: 3.984 kB / 0.8745 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7042, allocations: 3.938 kB / 0.8745 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.7044, allocations: 193.6 kB / 0.8747 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7044, allocations: 3.938 kB / 0.8747 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.7046, allocations: 39.92 kB / 0.8747 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7046, allocations: 4 kB / 0.8748 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.7046, allocations: 4 kB / 0.8748 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7046, allocations: 4 kB / 0.8748 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7046, allocations: 0 / 0.8748 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.7049, allocations: 208.8 kB / 0.875 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.705, allocations: 93.06 kB / 0.875 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.705, allocations: 4.25 kB / 0.8751 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.7052, allocations: 8 kB / 0.8751 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.7052, allocations: 19.92 kB / 0.8751 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.7052, allocations: 11.98 kB / 0.8751 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.7053, allocations: 75.28 kB / 0.8752 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7053, allocations: 0 / 0.8752 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002181/0.7055, allocations: 28 kB / 0.8752 GB, free: 1.73 MB / 0.6856 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.0001207/0.7056, allocations: 107.2 kB / 0.8753 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.7058, allocations: 119.9 kB / 0.8754 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7059, allocations: 0 / 0.8754 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.7059, allocations: 58.31 kB / 0.8755 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.7062, allocations: 15.94 kB / 0.8755 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.707, allocations: 0.5051 MB / 0.876 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.7072, allocations: 0.7008 MB / 0.8767 GB, free: 172 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.7074, allocations: 24.64 kB / 0.8767 GB, free: 144 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.7074, allocations: 15.44 kB / 0.8767 GB, free: 128 kB / 0.6856 GB Notification: Performance of SimCode: time 1.844e-06/0.7074, allocations: 0 / 0.8767 GB, free: 128 kB / 0.6856 GB Notification: Performance of Templates: time 0.003472/0.7109, allocations: 1.125 MB / 0.8778 GB, free: 15.01 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)