Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002503/0.002503, allocations: 215.2 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.701/1.701, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.518/3.518, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003717/0.003717, allocations: 70.02 kB / 1.177 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.5882, allocations: 180 MB / 1.353 GB, free: 8.699 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.3556/0.9438, allocations: 210 MB / 1.558 GB, free: 5.953 MB / 1.245 GB Notification: Performance of NFInst.instExpressions: time 0.03876/0.9825, allocations: 16.4 MB / 1.574 GB, free: 5.512 MB / 1.26 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006295/0.9888, allocations: 123 kB / 1.574 GB, free: 5.391 MB / 1.26 GB Notification: Performance of NFTyping.typeComponents: time 0.009673/0.9985, allocations: 2.137 MB / 1.576 GB, free: 3.254 MB / 1.26 GB Notification: Performance of NFTyping.typeBindings: time 0.01617/1.015, allocations: 3.761 MB / 1.58 GB, free: 15.48 MB / 1.276 GB Notification: Performance of NFTyping.typeClassSections: time 0.009728/1.024, allocations: 2.661 MB / 1.582 GB, free: 12.83 MB / 1.276 GB Notification: Performance of NFFlatten.flatten: time 0.01792/1.042, allocations: 7.794 MB / 1.59 GB, free: 5.023 MB / 1.276 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/1.047, allocations: 1.455 MB / 1.592 GB, free: 3.52 MB / 1.276 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/1.058, allocations: 3.387 MB / 1.595 GB, free: 124 kB / 1.276 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005903/1.064, allocations: 1.604 MB / 1.596 GB, free: 14.52 MB / 1.292 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/1.065, allocations: 196 kB / 1.597 GB, free: 14.32 MB / 1.292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.076, allocations: 3.005 MB / 1.6 GB, free: 11.31 MB / 1.292 GB Notification: Performance of NFScalarize.scalarize: time 0.002472/1.078, allocations: 0.8954 MB / 1.6 GB, free: 10.41 MB / 1.292 GB Notification: Performance of NFVerifyModel.verify: time 0.004674/1.083, allocations: 1.077 MB / 1.601 GB, free: 9.332 MB / 1.292 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.098, allocations: 4.768 MB / 1.606 GB, free: 4.547 MB / 1.292 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/1.098, allocations: 3.938 kB / 1.606 GB, free: 4.543 MB / 1.292 GB Notification: Performance of FrontEnd: time 3.667e-06/1.098, allocations: 0 / 1.606 GB, free: 4.543 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0002285/1.099, allocations: 0 / 1.606 GB, free: 4.543 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01181/1.11, allocations: 3.232 MB / 1.609 GB, free: 1.246 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.111, allocations: 12.88 kB / 1.609 GB, free: 1.234 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0248/1.135, allocations: 3.522 MB / 1.613 GB, free: 13.7 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/1.144, allocations: 2.682 MB / 1.615 GB, free: 10.95 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/1.145, allocations: 110.6 kB / 1.615 GB, free: 10.84 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006929/1.145, allocations: 140 kB / 1.616 GB, free: 10.7 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.157, allocations: 2.97 MB / 1.618 GB, free: 7.605 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/1.157, allocations: 0 / 1.618 GB, free: 7.605 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.157, allocations: 59.94 kB / 1.619 GB, free: 7.547 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.711e-05/1.157, allocations: 50.42 kB / 1.619 GB, free: 7.496 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/1.173, allocations: 3.592 MB / 1.622 GB, free: 3.895 MB / 1.307 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/1.206, allocations: 8.865 MB / 1.631 GB, free: 10.66 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009807/1.215, allocations: 2.132 MB / 1.633 GB, free: 8.523 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007465/1.223, allocations: 1.595 MB / 1.634 GB, free: 6.926 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/1.224, allocations: 84.56 kB / 1.634 GB, free: 6.844 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007937/1.232, allocations: 1.849 MB / 1.636 GB, free: 4.941 MB / 1.323 GB Notification: Performance of pre-optimization done (n=80): time 3.817e-06/1.232, allocations: 0 / 1.636 GB, free: 4.941 MB / 1.323 GB Notification: Performance of matching and sorting (n=80): time 0.02377/1.255, allocations: 4.759 MB / 1.641 GB, free: 172 kB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/1.255, allocations: 60.06 kB / 1.641 GB, free: 100 kB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005958/1.261, allocations: 2.146 MB / 1.643 GB, free: 13.92 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0002947/1.262, allocations: 49.7 kB / 1.643 GB, free: 13.87 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.263, allocations: 1.071 MB / 1.644 GB, free: 12.79 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/1.264, allocations: 301.5 kB / 1.644 GB, free: 12.49 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/1.265, allocations: 326.7 kB / 1.645 GB, free: 12.16 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.265, allocations: 302 kB / 1.645 GB, free: 11.87 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008284/1.273, allocations: 1.757 MB / 1.647 GB, free: 10.1 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008747/1.282, allocations: 2.365 MB / 1.649 GB, free: 7.516 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.297, allocations: 3.492 MB / 1.652 GB, free: 3.891 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.342e-05/1.297, allocations: 0 / 1.652 GB, free: 3.891 MB / 1.339 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01871/1.316, allocations: 4.033 MB / 1.656 GB, free: 15.84 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/1.316, allocations: 34.64 kB / 1.656 GB, free: 15.8 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/1.316, allocations: 12 kB / 1.656 GB, free: 15.79 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-05/1.316, allocations: 23.94 kB / 1.656 GB, free: 15.77 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/1.321, allocations: 0.8075 MB / 1.657 GB, free: 14.96 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.345e-05/1.321, allocations: 35.84 kB / 1.657 GB, free: 14.92 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005839/1.327, allocations: 0.6703 MB / 1.658 GB, free: 14.25 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/1.327, allocations: 63.97 kB / 1.658 GB, free: 14.19 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01016/1.337, allocations: 2.238 MB / 1.66 GB, free: 11.94 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008561/1.346, allocations: 2.361 MB / 1.663 GB, free: 9.371 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01526/1.361, allocations: 3.495 MB / 1.666 GB, free: 5.734 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.237e-05/1.361, allocations: 7.938 kB / 1.666 GB, free: 5.727 MB / 1.354 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.01807/1.379, allocations: 4.024 MB / 1.67 GB, free: 1.68 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/1.379, allocations: 37.69 kB / 1.67 GB, free: 1.637 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/1.379, allocations: 12 kB / 1.67 GB, free: 1.625 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.38, allocations: 16 kB / 1.67 GB, free: 1.609 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004801/1.384, allocations: 0.8002 MB / 1.671 GB, free: 0.8086 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.895e-05/1.384, allocations: 23.92 kB / 1.671 GB, free: 0.7852 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/1.39, allocations: 0.6512 MB / 1.671 GB, free: 136 kB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/1.39, allocations: 63.97 kB / 1.671 GB, free: 72 kB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 1.237/2.628, allocations: 261.5 kB / 1.672 GB, free: 316.9 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/2.629, allocations: 220.4 kB / 1.672 GB, free: 316.9 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/2.646, allocations: 3.333 MB / 1.675 GB, free: 316.8 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/2.646, allocations: 7.781 kB / 1.675 GB, free: 316.8 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/2.646, allocations: 1.281 kB / 1.675 GB, free: 316.8 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01597/2.662, allocations: 3.326 MB / 1.678 GB, free: 316.2 MB / 1.354 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/2.682, allocations: 5.203 MB / 1.683 GB, free: 314.4 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/2.682, allocations: 1.406 kB / 1.683 GB, free: 314.4 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004455/2.686, allocations: 0.6848 MB / 1.684 GB, free: 314.3 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/2.687, allocations: 43.67 kB / 1.684 GB, free: 314.3 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/2.687, allocations: 31.81 kB / 1.684 GB, free: 314.3 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/2.688, allocations: 1.404 MB / 1.686 GB, free: 313 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.688, allocations: 0.6562 kB / 1.686 GB, free: 313 MB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/2.711, allocations: 5.072 MB / 1.691 GB, free: 311.8 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/2.712, allocations: 392.9 kB / 1.691 GB, free: 311.6 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/2.713, allocations: 17.8 kB / 1.691 GB, free: 311.5 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004359/2.717, allocations: 0.5633 MB / 1.691 GB, free: 311.5 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/2.717, allocations: 63.27 kB / 1.692 GB, free: 311.5 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/2.717, allocations: 37.69 kB / 1.692 GB, free: 311.5 MB / 1.354 GB Notification: Performance of sorting global known variables: time 0.002928/2.72, allocations: 1.413 MB / 1.693 GB, free: 310.9 MB / 1.354 GB Notification: Performance of sort global known variables: time 8e-08/2.72, allocations: 0 / 1.693 GB, free: 310.9 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.003821/2.724, allocations: 1.145 MB / 1.694 GB, free: 310.8 MB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/2.727, allocations: 0.724 MB / 1.695 GB, free: 310.6 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.02351/2.751, allocations: 5.539 MB / 1.7 GB, free: 309.2 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.751, allocations: 0 / 1.7 GB, free: 309.2 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.006771/2.758, allocations: 1.713 MB / 1.702 GB, free: 308.8 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/2.762, allocations: 1.006 MB / 1.703 GB, free: 308.5 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1614/2.923, allocations: 31.4 MB / 1.734 GB, free: 279 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/2.925, allocations: 1.079 MB / 1.735 GB, free: 277.8 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.003424/2.929, allocations: 0.5909 MB / 1.735 GB, free: 277.2 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/2.93, allocations: 179.3 kB / 1.735 GB, free: 277.1 MB / 1.354 GB Notification: Performance of SimCode: time 2.765e-06/2.93, allocations: 3.938 kB / 1.735 GB, free: 277.1 MB / 1.354 GB Notification: Performance of Templates: time 0.07316/3.003, allocations: 47.05 MB / 1.781 GB, free: 230.9 MB / 1.354 GB " [Timeout remaining time 297] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.326940386556089]