Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 184.9 kB / 325.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.574/2.574, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 85.42 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007323/0.0007326, allocations: 14.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2838, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001958/0.2858, allocations: 1.019 MB / 0.8999 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2408/0.5267, allocations: 125.2 MB / 1.022 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.5268, allocations: 0 / 1.022 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.5268, allocations: 4 kB / 1.022 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.5269, allocations: 11.98 kB / 1.022 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.528, allocations: 239.2 kB / 1.022 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.5281, allocations: 43.94 kB / 1.022 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.5282, allocations: 0 / 1.022 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.5283, allocations: 31.91 kB / 1.022 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.5284, allocations: 31.91 kB / 1.022 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.5284, allocations: 3.984 kB / 1.022 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.5294, allocations: 279.4 kB / 1.023 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.5295, allocations: 19.97 kB / 1.023 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.5296, allocations: 29.7 kB / 1.023 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.5299, allocations: 100.1 kB / 1.023 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5299, allocations: 4 kB / 1.023 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5299, allocations: 0 / 1.023 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.5299, allocations: 0 / 1.023 GB, free: 2.16 MB / 0.6667 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.0005589/0.5305, allocations: 379.1 kB / 1.023 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5306, allocations: 11.97 kB / 1.023 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.5311, allocations: 43.8 kB / 1.023 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5313, allocations: 163.1 kB / 1.023 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5313, allocations: 8 kB / 1.023 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.5314, allocations: 12 kB / 1.023 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.5316, allocations: 77.64 kB / 1.024 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5316, allocations: 0 / 1.024 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.5317, allocations: 3.984 kB / 1.024 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5317, allocations: 0 / 1.024 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.5318, allocations: 55.84 kB / 1.024 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.5321, allocations: 189.4 kB / 1.024 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.5324, allocations: 94.69 kB / 1.024 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.5325, allocations: 4 kB / 1.024 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5325, allocations: 34.56 kB / 1.024 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.5325, allocations: 4 kB / 1.024 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001935/0.5345, allocations: 0.5457 MB / 1.024 GB, free: 352 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5345, allocations: 51.41 kB / 1.024 GB, free: 288 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.5346, allocations: 105.8 kB / 1.025 GB, free: 172 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5347, allocations: 33.7 kB / 1.025 GB, free: 132 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.5347, allocations: 80.52 kB / 1.025 GB, free: 48 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.5348, allocations: 67.12 kB / 1.025 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.5349, allocations: 8 kB / 1.025 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.535, allocations: 318.8 kB / 1.025 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5352, allocations: 31.98 kB / 1.025 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.5353, allocations: 70.86 kB / 1.025 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5355, allocations: 55.91 kB / 1.025 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5355, allocations: 0 / 1.025 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003656/0.5359, allocations: 153.5 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5359, allocations: 4 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5359, allocations: 0 / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5359, allocations: 4 kB / 1.025 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5363, allocations: 39.92 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.5363, allocations: 3.984 kB / 1.025 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5364, allocations: 11.95 kB / 1.025 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.5364, allocations: 8 kB / 1.025 GB, free: 15.26 MB / 0.6823 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 0.0001221/0.5366, allocations: 117.8 kB / 1.026 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.5366, allocations: 11.91 kB / 1.026 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.5367, allocations: 20.44 kB / 1.026 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5367, allocations: 0 / 1.026 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5367, allocations: 0 / 1.026 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5367, allocations: 0 / 1.026 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.537, allocations: 201.5 kB / 1.026 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.537, allocations: 3.984 kB / 1.026 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.5374, allocations: 35.98 kB / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5374, allocations: 0 / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.5374, allocations: 8 kB / 1.026 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.5375, allocations: 0 / 1.026 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5375, allocations: 8.062 kB / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.538, allocations: 210.6 kB / 1.026 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5381, allocations: 92.98 kB / 1.026 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.5381, allocations: 0 / 1.026 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.5384, allocations: 8.062 kB / 1.026 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.5384, allocations: 11.98 kB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.5385, allocations: 8 kB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.5385, allocations: 79.28 kB / 1.026 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5385, allocations: 0 / 1.026 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003438/0.5389, allocations: 32 kB / 1.026 GB, free: 14.34 MB / 0.6823 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.000171/0.539, allocations: 111.2 kB / 1.026 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.5394, allocations: 107.8 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5394, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5395, allocations: 57.91 kB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.5398, allocations: 11.98 kB / 1.027 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.5411, allocations: 0.6124 MB / 1.027 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5415, allocations: 0.7089 MB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.5417, allocations: 16.64 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.5418, allocations: 15.44 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of SimCode: time 3.186e-06/0.5418, allocations: 3.938 kB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of Templates: time 0.004789/0.5466, allocations: 1.021 MB / 1.029 GB, free: 11.62 MB / 0.6823 GB