Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001649/0.001649, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.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.001322/0.001322, allocations: 67.2 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2885, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003886/0.2924, allocations: 2.44 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6582/0.9507, allocations: 148.7 MB / 0.9303 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.9509, allocations: 1.406 kB / 0.9303 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.9513, allocations: 80.7 kB / 0.9304 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.9519, allocations: 212.3 kB / 0.9306 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.9534, allocations: 0.5818 MB / 0.9311 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.9539, allocations: 412.5 kB / 0.9315 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.9541, allocations: 50.72 kB / 0.9316 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.9543, allocations: 165 kB / 0.9317 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.9547, allocations: 191.6 kB / 0.9319 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.9547, allocations: 17.72 kB / 0.9319 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.956, allocations: 0.6715 MB / 0.9326 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.9562, allocations: 70.25 kB / 0.9327 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.9563, allocations: 153.9 kB / 0.9328 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.9573, allocations: 0.652 MB / 0.9334 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9573, allocations: 0.6094 kB / 0.9334 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9573, allocations: 0 / 0.9334 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.9573, allocations: 1.203 kB / 0.9334 GB, free: 5.609 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001754/0.9591, allocations: 0.7383 MB / 0.9342 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.9591, allocations: 9 kB / 0.9342 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.9607, allocations: 160.3 kB / 0.9343 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.9611, allocations: 316 kB / 0.9346 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.9612, allocations: 47.66 kB / 0.9347 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.9613, allocations: 20.59 kB / 0.9347 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.9617, allocations: 209.1 kB / 0.9349 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9617, allocations: 0 / 0.9349 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.9617, allocations: 6.438 kB / 0.9349 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.9618, allocations: 3.984 kB / 0.9349 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.962, allocations: 117.5 kB / 0.935 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.9646, allocations: 1 MB / 0.936 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.9653, allocations: 159 kB / 0.9361 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.9656, allocations: 99.59 kB / 0.9362 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.9656, allocations: 1.562 kB / 0.9362 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.9661, allocations: 199.2 kB / 0.9364 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.9661, allocations: 0 / 0.9364 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.004262/0.9703, allocations: 0.8586 MB / 0.9373 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.9704, allocations: 81.58 kB / 0.9373 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.9708, allocations: 339.2 kB / 0.9377 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.9709, allocations: 37.38 kB / 0.9377 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.971, allocations: 153.7 kB / 0.9379 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.9711, allocations: 57.73 kB / 0.9379 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9713, allocations: 81.48 kB / 0.938 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9714, allocations: 352.8 kB / 0.9383 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.9717, allocations: 136.2 kB / 0.9385 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.9721, allocations: 215.3 kB / 0.9387 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.9727, allocations: 338.5 kB / 0.939 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9728, allocations: 2.906 kB / 0.939 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003684/0.9764, allocations: 0.8526 MB / 0.9398 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.9765, allocations: 40.73 kB / 0.9399 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9765, allocations: 2.625 kB / 0.9399 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009461/0.9775, allocations: 195.2 kB / 0.94 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.9777, allocations: 45.27 kB / 0.9401 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.981, allocations: 2.236 MB / 0.9423 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.9815, allocations: 43.22 kB / 0.9423 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.9815, allocations: 18.42 kB / 0.9423 GB, free: 16.99 MB / 0.7481 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.9818, allocations: 196.9 kB / 0.9425 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.9819, allocations: 29.36 kB / 0.9425 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.9819, allocations: 27.58 kB / 0.9426 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9819, allocations: 1.078 kB / 0.9426 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.982, allocations: 2.344 kB / 0.9426 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.982, allocations: 0 / 0.9426 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.9853, allocations: 1.037 MB / 0.9436 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.9854, allocations: 2.531 kB / 0.9436 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.9854, allocations: 9.828 kB / 0.9436 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.9857, allocations: 115.3 kB / 0.9437 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.9858, allocations: 9.953 kB / 0.9437 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009804/0.9868, allocations: 0.7487 MB / 0.9444 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.9868, allocations: 2.188 kB / 0.9445 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.9901, allocations: 0.8673 MB / 0.9453 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.9903, allocations: 141.1 kB / 0.9454 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.9904, allocations: 5.875 kB / 0.9454 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.9907, allocations: 9.984 kB / 0.9454 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.9907, allocations: 12.23 kB / 0.9455 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.9908, allocations: 17.53 kB / 0.9455 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003374/0.9911, allocations: 235.3 kB / 0.9457 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9911, allocations: 0 / 0.9457 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007329/0.9919, allocations: 116.4 kB / 0.9458 GB, free: 15.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004511/0.9923, allocations: 182.5 kB / 0.946 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.9941, allocations: 0.5598 MB / 0.9465 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9941, allocations: 0 / 0.9465 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008072/0.9949, allocations: 246.4 kB / 0.9468 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.9955, allocations: 67.03 kB / 0.9468 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.9969, allocations: 0.6848 MB / 0.9475 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.9974, allocations: 0.758 MB / 0.9482 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.9976, allocations: 33.05 kB / 0.9483 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.9977, allocations: 21.48 kB / 0.9483 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.9977, allocations: 0 / 0.9483 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.01314/1.011, allocations: 6.88 MB / 0.955 GB, free: 13.46 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)