Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 111.8 kB / 16.42 MB, free: 6.41 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.001758/0.001758, allocations: 193.2 kB / 17.35 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 301.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9503/0.9503, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 99.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3774, allocations: 86.96 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6471/1.025, allocations: 260.9 MB / 1.022 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02549/1.05, allocations: 18.82 MB / 1.04 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/1.054, allocations: 98.38 kB / 1.04 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005757/1.06, allocations: 2.234 MB / 1.042 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/1.07, allocations: 4.166 MB / 1.047 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/1.077, allocations: 2.659 MB / 1.049 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01235/1.089, allocations: 8.821 MB / 1.058 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003355/1.092, allocations: 2.194 MB / 1.06 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/1.098, allocations: 2.775 MB / 1.063 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/1.102, allocations: 1.86 MB / 1.064 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000605/1.103, allocations: 246.1 kB / 1.065 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008838/1.112, allocations: 4.238 MB / 1.069 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/1.113, allocations: 1.006 MB / 1.07 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002518/1.116, allocations: 1.561 MB / 1.071 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/1.128, allocations: 5.607 MB / 1.077 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.128, allocations: 0 / 1.077 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/1.128, allocations: 0 / 1.077 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001088/1.128, allocations: 0 / 1.077 GB, free: 2.051 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: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.007062/1.135, allocations: 3.523 MB / 1.08 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.135, allocations: 11.97 kB / 1.08 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/1.141, allocations: 0.9072 MB / 1.081 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/1.146, allocations: 2.945 MB / 1.084 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.147, allocations: 123 kB / 1.084 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/1.147, allocations: 156 kB / 1.084 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/1.151, allocations: 1.845 MB / 1.086 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/1.151, allocations: 7.281 kB / 1.086 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/1.151, allocations: 63.98 kB / 1.086 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/1.151, allocations: 54.89 kB / 1.086 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/1.154, allocations: 1.59 MB / 1.088 GB, free: 6.758 MB / 0.7481 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.01209/1.166, allocations: 8.737 MB / 1.096 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/1.169, allocations: 1.741 MB / 1.098 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.171, allocations: 0.6673 MB / 1.099 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/1.171, allocations: 229 kB / 1.099 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/1.173, allocations: 0.6532 MB / 1.099 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=99): time 3.627e-06/1.173, allocations: 0 / 1.099 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=102): time 0.009638/1.182, allocations: 3.724 MB / 1.103 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.182, allocations: 60.41 kB / 1.103 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/1.186, allocations: 2.143 MB / 1.105 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.186, allocations: 49.7 kB / 1.105 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.187, allocations: 1.094 MB / 1.106 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/1.188, allocations: 372 kB / 1.107 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/1.189, allocations: 347.3 kB / 1.107 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/1.189, allocations: 301.1 kB / 1.107 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.19, allocations: 0.7348 MB / 1.108 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.192, allocations: 1.113 MB / 1.109 GB, free: 15.91 MB / 0.7794 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.01614/1.208, allocations: 4.534 MB / 1.114 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.208, allocations: 4 kB / 1.114 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004636/1.213, allocations: 2.173 MB / 1.116 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/1.213, allocations: 37.73 kB / 1.116 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.213, allocations: 8 kB / 1.116 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/1.213, allocations: 52.78 kB / 1.116 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.215, allocations: 352.2 kB / 1.116 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.216, allocations: 1.675 MB / 1.118 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.218, allocations: 106.1 kB / 1.118 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.218, allocations: 63.98 kB / 1.118 GB, free: 6.73 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002518/1.221, allocations: 1.265 MB / 1.119 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00183/1.223, allocations: 1.1 MB / 1.12 GB, free: 4.23 MB / 0.7794 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_lambda0): time 0.01629/1.239, allocations: 4.516 MB / 1.125 GB, free: 15.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.629e-05/1.239, allocations: 0 / 1.125 GB, free: 15.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.005535/1.245, allocations: 2.179 MB / 1.127 GB, free: 13.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/1.245, allocations: 37.69 kB / 1.127 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.245, allocations: 8 kB / 1.127 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/1.245, allocations: 45.59 kB / 1.127 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.246, allocations: 354.9 kB / 1.127 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/1.248, allocations: 1.689 MB / 1.129 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.25, allocations: 112 kB / 1.129 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.25, allocations: 63.98 kB / 1.129 GB, free: 11.03 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000443/1.251, allocations: 267.4 kB / 1.129 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/1.251, allocations: 225.2 kB / 1.129 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/1.255, allocations: 1.436 MB / 1.131 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002686/1.258, allocations: 1.163 MB / 1.132 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.258, allocations: 0 / 1.132 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.259, allocations: 434.1 kB / 1.132 GB, free: 7.492 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/1.259, allocations: 23.98 kB / 1.132 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/1.261, allocations: 79.59 kB / 1.133 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.261, allocations: 72.98 kB / 1.133 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004166/1.265, allocations: 1.516 MB / 1.134 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004577/1.27, allocations: 2.189 MB / 1.136 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001244/1.271, allocations: 0.5934 MB / 1.137 GB, free: 3.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002552/1.274, allocations: 1.426 MB / 1.138 GB, free: 1.582 MB / 0.795 GB Notification: Performance of Backend: time 8.32e-07/1.274, allocations: 0 / 1.138 GB, free: 1.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008643/1.282, allocations: 3.473 MB / 1.142 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01116/1.293, allocations: 5.567 MB / 1.147 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.09251/1.386, allocations: 58.15 MB / 1.204 GB, free: 15.18 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)