Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001044/0.001044, allocations: 186.7 kB / 372.9 MB, free: 10.15 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.486/1.486, allocations: 205.4 MB / 0.6316 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007733/0.0007734, allocations: 94.3 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 17.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7765/1.022, allocations: 237.7 MB / 1.213 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02682/1.049, allocations: 18.37 MB / 1.231 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004011/1.053, allocations: 77.94 kB / 1.231 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/1.057, allocations: 1.134 MB / 1.232 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/1.067, allocations: 3.399 MB / 1.235 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009133/1.077, allocations: 2.977 MB / 1.238 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0116/1.088, allocations: 6.716 MB / 1.245 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/1.093, allocations: 1.775 MB / 1.247 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/1.099, allocations: 2.292 MB / 1.249 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/1.103, allocations: 1.686 MB / 1.25 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007157/1.103, allocations: 92 kB / 1.25 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009218/1.113, allocations: 4.485 MB / 1.255 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/1.114, allocations: 0.7163 MB / 1.256 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002713/1.117, allocations: 1.176 MB / 1.257 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006544/1.123, allocations: 3.784 MB / 1.26 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.123, allocations: 4 kB / 1.26 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.074e-06/1.123, allocations: 0 / 1.26 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001381/1.124, allocations: 0 / 1.26 GB, free: 12.07 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.00643/1.13, allocations: 2.702 MB / 1.263 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.13, allocations: 8.031 kB / 1.263 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/1.135, allocations: 0.8125 MB / 1.264 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/1.139, allocations: 1.802 MB / 1.266 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/1.139, allocations: 194.9 kB / 1.266 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/1.139, allocations: 160 kB / 1.266 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/1.143, allocations: 1.866 MB / 1.268 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.143, allocations: 4 kB / 1.268 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/1.143, allocations: 67.98 kB / 1.268 GB, free: 4.266 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/1.143, allocations: 58.91 kB / 1.268 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/1.147, allocations: 1.612 MB / 1.269 GB, free: 2.59 MB / 0.7917 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.01266/1.159, allocations: 8.35 MB / 1.278 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/1.162, allocations: 1.838 MB / 1.279 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.164, allocations: 0.6903 MB / 1.28 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/1.164, allocations: 243.1 kB / 1.28 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.165, allocations: 0.6961 MB / 1.281 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008467/1.166, allocations: 119.1 kB / 1.281 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=101): time 3.797e-06/1.166, allocations: 0 / 1.281 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=104): time 0.008702/1.175, allocations: 3.755 MB / 1.285 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/1.175, allocations: 145.5 kB / 1.285 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/1.177, allocations: 1.597 MB / 1.286 GB, free: 184 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/1.177, allocations: 49.7 kB / 1.287 GB, free: 128 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/1.178, allocations: 0.9639 MB / 1.287 GB, free: 15.15 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/1.179, allocations: 366.6 kB / 1.288 GB, free: 14.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/1.179, allocations: 28 kB / 1.288 GB, free: 14.76 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.179, allocations: 361.9 kB / 1.288 GB, free: 14.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.18, allocations: 0.5647 MB / 1.289 GB, free: 13.83 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.182, allocations: 0.9342 MB / 1.29 GB, free: 12.75 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/1.197, allocations: 4.684 MB / 1.294 GB, free: 7.934 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.197, allocations: 4 kB / 1.294 GB, free: 7.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003629/1.2, allocations: 1.757 MB / 1.296 GB, free: 6.156 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/1.201, allocations: 346.6 kB / 1.296 GB, free: 5.707 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.201, allocations: 12 kB / 1.296 GB, free: 5.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/1.201, allocations: 52.83 kB / 1.296 GB, free: 5.641 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.202, allocations: 303.6 kB / 1.297 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/1.203, allocations: 1.522 MB / 1.298 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/1.205, allocations: 191.3 kB / 1.298 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.206, allocations: 51.98 kB / 1.298 GB, free: 3.457 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/1.206, allocations: 8 kB / 1.298 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/1.209, allocations: 1.562 MB / 1.3 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.209, allocations: 8 kB / 1.3 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/1.209, allocations: 44.84 kB / 1.3 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.21, allocations: 307.9 kB / 1.3 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/1.211, allocations: 1.526 MB / 1.302 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.213, allocations: 188.3 kB / 1.302 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.214, allocations: 55.98 kB / 1.302 GB, free: 15.62 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.215, allocations: 0.5936 MB / 1.303 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.215, allocations: 201.5 kB / 1.303 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/1.218, allocations: 1.471 MB / 1.304 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002656/1.221, allocations: 1.219 MB / 1.305 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.221, allocations: 0 / 1.305 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.222, allocations: 382.5 kB / 1.306 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.222, allocations: 31.92 kB / 1.306 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.224, allocations: 163.7 kB / 1.306 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.224, allocations: 68.89 kB / 1.306 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003896/1.228, allocations: 1.577 MB / 1.308 GB, free: 9.859 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004266/1.232, allocations: 2.286 MB / 1.31 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001233/1.233, allocations: 0.6207 MB / 1.31 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001763/1.235, allocations: 1.071 MB / 1.311 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of Backend: time 4.81e-07/1.235, allocations: 0 / 1.311 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007226/1.242, allocations: 2.996 MB / 1.314 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of SimCode: time 0.009011/1.251, allocations: 5.639 MB / 1.32 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.07446/1.326, allocations: 49.28 MB / 1.368 GB, free: 12.14 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)