Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.802/4.802, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002528/0.002527, allocations: 356.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.253/4.253, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.001879, allocations: 182.2 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004989, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7295, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.9298, allocations: 141.2 MB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.9301, allocations: 101 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.9499, allocations: 5.414 MB / 1.605 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/0.95, allocations: 3.938 kB / 1.605 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.95, allocations: 4.875 kB / 1.605 GB, free: 137.6 MB / 0.8542 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.000725/0.9507, allocations: 459.7 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.9508, allocations: 11.62 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.9509, allocations: 16.66 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.9513, allocations: 256.5 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.9513, allocations: 12.84 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.9514, allocations: 4 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.9517, allocations: 129.2 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9517, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.9517, allocations: 3.047 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.9518, allocations: 0.7188 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.9522, allocations: 191.8 kB / 1.606 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.9526, allocations: 266.4 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.9533, allocations: 217.2 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.9535, allocations: 60.83 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.9536, allocations: 3.938 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.9539, allocations: 116.5 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.9539, allocations: 4 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007693/0.9547, allocations: 260.5 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.9547, allocations: 84.67 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.9551, allocations: 245.4 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.9551, allocations: 29.7 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.9552, allocations: 112.1 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.9553, allocations: 43.44 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.9553, allocations: 4.109 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.9554, allocations: 334.7 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.9556, allocations: 52.62 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.9558, allocations: 87.47 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.956, allocations: 66.56 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.956, allocations: 0 / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005177/0.9565, allocations: 217.4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9565, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9566, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9566, allocations: 4.797 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.9568, allocations: 27.92 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9568, allocations: 1.375 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.957, allocations: 19.84 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.957, allocations: 4 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000138/0.9571, allocations: 134.8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.9572, allocations: 19.8 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.9579, allocations: 277 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9579, allocations: 7.984 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.9579, allocations: 0 / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.958, allocations: 2.406 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.9583, allocations: 281.5 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9583, allocations: 4 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.9585, allocations: 27.98 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.9585, allocations: 0 / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.9586, allocations: 11.98 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.9586, allocations: 4 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9586, allocations: 0.9688 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.9592, allocations: 280.5 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.9593, allocations: 100.8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.9593, allocations: 8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.9595, allocations: 8.75 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.9595, allocations: 19.97 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.9596, allocations: 5.406 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002406/0.9598, allocations: 190 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9598, allocations: 0 / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003683/0.9602, allocations: 53.03 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001286/0.9615, allocations: 463.9 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.962, allocations: 163.5 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.962, allocations: 1.375 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.9623, allocations: 103.8 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.9627, allocations: 36.16 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.9635, allocations: 378.7 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.9637, allocations: 0.7341 MB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.9639, allocations: 50.86 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.9641, allocations: 35.42 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.9641, allocations: 2.562 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.008747/0.9728, allocations: 3.02 MB / 1.614 GB, free: 128.1 MB / 0.8542 GB