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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 192.3 kB / 16.13 MB, free: 6.652 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.406/1.406, allocations: 205.1 MB / 222 MB, free: 4.746 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.494/1.494, allocations: 251.7 MB / 0.5088 GB, free: 3.336 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.001624/0.001624, allocations: 63.91 kB / 0.6215 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.5728, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002519/0.5754, allocations: 1.392 MB / 0.7252 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1446/0.72, allocations: 145.8 MB / 0.8675 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.7201, allocations: 0 / 0.8675 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.7202, allocations: 0 / 0.8675 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.7204, allocations: 19.91 kB / 0.8676 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.7213, allocations: 306.8 kB / 0.8679 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.7214, allocations: 87.67 kB / 0.8679 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.7214, allocations: 4 kB / 0.8679 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.7215, allocations: 27.97 kB / 0.868 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.7216, allocations: 39.83 kB / 0.868 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.7216, allocations: 4 kB / 0.868 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000844/0.7225, allocations: 0.4908 MB / 0.8685 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.7225, allocations: 15.92 kB / 0.8685 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.7226, allocations: 31.84 kB / 0.8685 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.7229, allocations: 181.6 kB / 0.8687 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7229, allocations: 0 / 0.8687 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.21e-07/0.7229, allocations: 0 / 0.8687 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7229, allocations: 0 / 0.8687 GB, free: 8.184 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.0004713/0.7234, allocations: 391.4 kB / 0.8691 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.7235, allocations: 8.031 kB / 0.8691 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/0.7239, allocations: 44.8 kB / 0.8691 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.724, allocations: 164.3 kB / 0.8693 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.724, allocations: 11.92 kB / 0.8693 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.724, allocations: 8 kB / 0.8693 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7242, allocations: 77.64 kB / 0.8694 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7242, allocations: 0 / 0.8694 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.7242, allocations: 12 kB / 0.8694 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.7243, allocations: 0 / 0.8694 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.7244, allocations: 43.95 kB / 0.8694 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.7245, allocations: 193.4 kB / 0.8696 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.7247, allocations: 94.73 kB / 0.8697 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.7248, allocations: 28.84 kB / 0.8697 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.725, allocations: 182.2 kB / 0.8699 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.725, allocations: 34.56 kB / 0.87 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.7251, allocations: 0 / 0.87 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001274/0.7263, allocations: 0.5495 MB / 0.8705 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.7264, allocations: 55.41 kB / 0.8705 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.7264, allocations: 101.8 kB / 0.8706 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.7265, allocations: 29.7 kB / 0.8707 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.7265, allocations: 80.52 kB / 0.8707 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.7266, allocations: 67.02 kB / 0.8708 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.7266, allocations: 45.83 kB / 0.8708 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.7267, allocations: 318.8 kB / 0.8712 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.7268, allocations: 31.98 kB / 0.8712 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.7269, allocations: 67.41 kB / 0.8712 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.727, allocations: 123.3 kB / 0.8714 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.727, allocations: 0 / 0.8714 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002046/0.7272, allocations: 161.5 kB / 0.8715 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7273, allocations: 4 kB / 0.8715 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7273, allocations: 7.984 kB / 0.8715 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.7273, allocations: 0 / 0.8715 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.7275, allocations: 39.98 kB / 0.8716 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7275, allocations: 4.094 kB / 0.8716 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.7276, allocations: 7.938 kB / 0.8716 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.7276, allocations: 15.92 kB / 0.8716 GB, free: 4.906 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 7.911e-05/0.7277, allocations: 117.8 kB / 0.8717 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.7277, allocations: 15.91 kB / 0.8717 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.7277, allocations: 12.44 kB / 0.8717 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7277, allocations: 0 / 0.8717 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7278, allocations: 4 kB / 0.8717 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7278, allocations: 7.922 kB / 0.8717 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.7279, allocations: 189.6 kB / 0.8719 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7279, allocations: 7.938 kB / 0.8719 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.7281, allocations: 39.92 kB / 0.872 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7281, allocations: 4 kB / 0.872 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7282, allocations: 0 / 0.872 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7282, allocations: 4 kB / 0.872 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7282, allocations: 0 / 0.872 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.7285, allocations: 212.8 kB / 0.8722 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.7285, allocations: 93 kB / 0.8723 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7286, allocations: 4.062 kB / 0.8723 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.7287, allocations: 4 kB / 0.8723 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.7287, allocations: 15.92 kB / 0.8723 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7287, allocations: 8 kB / 0.8723 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.7288, allocations: 83.27 kB / 0.8724 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7288, allocations: 0 / 0.8724 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000218/0.729, allocations: 32 kB / 0.8724 GB, free: 3.973 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.0001217/0.7291, allocations: 99.25 kB / 0.8725 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.7293, allocations: 112.1 kB / 0.8726 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7294, allocations: 96 / 0.8726 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.7294, allocations: 54.5 kB / 0.8727 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.7297, allocations: 19.98 kB / 0.8727 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.7304, allocations: 0.534 MB / 0.8732 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.7306, allocations: 0.705 MB / 0.8739 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.7308, allocations: 20.62 kB / 0.8739 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.7308, allocations: 15.44 kB / 0.8739 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.7308, allocations: 4 kB / 0.8739 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of Templates: time 0.00309/0.7339, allocations: 1.067 MB / 0.875 GB, free: 1.289 MB / 0.6856 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)