Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 308.1 MB, free: 4.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001377, allocations: 182.2 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009709/0.0009707, allocations: 96.75 kB / 0.748 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2854, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8366/1.122, allocations: 233.9 MB / 1.211 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0335/1.156, allocations: 18.77 MB / 1.229 GB, free: 15.86 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/1.16, allocations: 84.16 kB / 1.229 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004546/1.165, allocations: 1.185 MB / 1.23 GB, free: 15.22 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/1.176, allocations: 3.173 MB / 1.233 GB, free: 13.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/1.19, allocations: 3.247 MB / 1.236 GB, free: 11.88 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01351/1.204, allocations: 6.61 MB / 1.243 GB, free: 9.484 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006431/1.21, allocations: 1.641 MB / 1.244 GB, free: 8.785 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009562/1.22, allocations: 2.438 MB / 1.247 GB, free: 7.75 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005868/1.226, allocations: 1.598 MB / 1.248 GB, free: 7.105 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001174/1.227, allocations: 105.9 kB / 1.249 GB, free: 7.105 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/1.239, allocations: 3.892 MB / 1.252 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002284/1.241, allocations: 0.6673 MB / 1.253 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005224/1.246, allocations: 1.109 MB / 1.254 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/1.261, allocations: 4.497 MB / 1.258 GB, free: 3.219 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.261, allocations: 0 / 1.258 GB, free: 3.219 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.261, allocations: 1.25 kB / 1.258 GB, free: 3.219 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001837/1.261, allocations: 0 / 1.258 GB, free: 3.219 MB / 0.823 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.01071/1.272, allocations: 2.883 MB / 1.261 GB, free: 1.391 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.272, allocations: 14.72 kB / 1.261 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/1.277, allocations: 0.7712 MB / 1.262 GB, free: 1.211 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/1.282, allocations: 1.657 MB / 1.264 GB, free: 292 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/1.282, allocations: 164.2 kB / 1.264 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/1.283, allocations: 154.9 kB / 1.264 GB, free: 180 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/1.288, allocations: 1.679 MB / 1.266 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/1.288, allocations: 3.938 kB / 1.266 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/1.288, allocations: 55.31 kB / 1.266 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/1.288, allocations: 48.67 kB / 1.266 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/1.292, allocations: 1.446 MB / 1.267 GB, free: 14.89 MB / 0.8386 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.01392/1.306, allocations: 7.505 MB / 1.274 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/1.309, allocations: 1.622 MB / 1.276 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/1.31, allocations: 0.5165 MB / 1.277 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/1.312, allocations: 0.779 MB / 1.277 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.313, allocations: 0.5556 MB / 1.278 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001234/1.314, allocations: 119.2 kB / 1.278 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=84): time 5.731e-06/1.314, allocations: 0 / 1.278 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84): time 0.004723/1.319, allocations: 1.601 MB / 1.28 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/1.319, allocations: 119.8 kB / 1.28 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/1.323, allocations: 1.592 MB / 1.281 GB, free: 444 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/1.323, allocations: 45.7 kB / 1.281 GB, free: 392 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.324, allocations: 0.9358 MB / 1.282 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/1.325, allocations: 299.8 kB / 1.282 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/1.325, allocations: 226.8 kB / 1.283 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.325, allocations: 345.9 kB / 1.283 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.326, allocations: 469.8 kB / 1.283 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.328, allocations: 0.8352 MB / 1.284 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/1.331, allocations: 1.264 MB / 1.285 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.331, allocations: 5.25 kB / 1.285 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003627/1.334, allocations: 1.477 MB / 1.287 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/1.334, allocations: 37.7 kB / 1.287 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.334, allocations: 8 kB / 1.287 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.191e-05/1.334, allocations: 16.81 kB / 1.287 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.336, allocations: 275.6 kB / 1.287 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.595e-05/1.336, allocations: 23.88 kB / 1.287 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.338, allocations: 148.4 kB / 1.287 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.338, allocations: 51.98 kB / 1.287 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002016/1.34, allocations: 0.8304 MB / 1.288 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001432/1.341, allocations: 0.8125 MB / 1.289 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002436/1.344, allocations: 1.237 MB / 1.29 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.333e-06/1.344, allocations: 0 / 1.29 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.003265/1.347, allocations: 1.449 MB / 1.292 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/1.347, allocations: 33.7 kB / 1.292 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.347, allocations: 21.55 kB / 1.292 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.347, allocations: 12 kB / 1.292 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.348, allocations: 275.6 kB / 1.292 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/1.348, allocations: 19.92 kB / 1.292 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.35, allocations: 158.6 kB / 1.292 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.35, allocations: 57.16 kB / 1.292 GB, free: 4.48 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (135): * Single equations (assignments): 131 * Array equations: 2 * 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 0.0003834/1.351, allocations: 248 kB / 1.292 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.351, allocations: 181.8 kB / 1.293 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/1.354, allocations: 1.187 MB / 1.294 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.354, allocations: 8 kB / 1.294 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.354, allocations: 4 kB / 1.294 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002302/1.356, allocations: 1.24 MB / 1.295 GB, free: 1.516 MB / 0.8542 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.006385/1.363, allocations: 2.901 MB / 1.298 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.363, allocations: 4 kB / 1.298 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/1.364, allocations: 183.8 kB / 1.298 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/1.364, allocations: 48.83 kB / 1.298 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/1.364, allocations: 23.98 kB / 1.298 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/1.365, allocations: 1.412 MB / 1.299 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.365, allocations: 3.938 kB / 1.299 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1424/1.508, allocations: 31.3 MB / 1.33 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.509, allocations: 334.7 kB / 1.33 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/1.51, allocations: 27.88 kB / 1.33 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.511, allocations: 151.7 kB / 1.331 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.511, allocations: 60.52 kB / 1.331 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/1.511, allocations: 35.97 kB / 1.331 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001767/1.513, allocations: 1.066 MB / 1.332 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/1.513, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007855/1.521, allocations: 1.568 MB / 1.333 GB, free: 9.742 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],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 (84): * Single equations (assignments): 81 * 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.002506/1.523, allocations: 0.6896 MB / 1.334 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004662/1.528, allocations: 1.9 MB / 1.336 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.528, allocations: 4.062 kB / 1.336 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.53, allocations: 0.6159 MB / 1.336 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/1.534, allocations: 0.8071 MB / 1.337 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/1.544, allocations: 5.045 MB / 1.342 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.545, allocations: 1.515 MB / 1.344 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002755/1.548, allocations: 0.4902 MB / 1.344 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/1.548, allocations: 147.4 kB / 1.344 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/1.548, allocations: 0 / 1.344 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.5314/2.08, allocations: 42.28 MB / 1.385 GB, free: 271 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)