Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001233/0.001233, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4363/0.4363, allocations: 55.01 MB / 325.4 MB, free: 0.6836 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006798/0.0006801, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5487, allocations: 60.73 MB / 457.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6904/1.239, allocations: 215 MB / 0.6566 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0283/1.267, allocations: 17.29 MB / 0.6735 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/1.272, allocations: 66.97 kB / 0.6735 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004345/1.276, allocations: 0.9066 MB / 0.6744 GB, free: 5.602 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01149/1.288, allocations: 2.556 MB / 0.6769 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01226/1.3, allocations: 2.754 MB / 0.6796 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01404/1.314, allocations: 5.69 MB / 0.6851 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005005/1.319, allocations: 1.382 MB / 0.6865 GB, free: 21.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008827/1.328, allocations: 2.159 MB / 0.6886 GB, free: 21.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/1.334, allocations: 1.562 MB / 0.6901 GB, free: 21.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/1.334, allocations: 84.41 kB / 0.6902 GB, free: 21.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008621/1.343, allocations: 2.168 MB / 0.6923 GB, free: 21.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001595/1.345, allocations: 0.6436 MB / 0.693 GB, free: 21.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/1.346, allocations: 467.6 kB / 0.6934 GB, free: 21.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007853/1.354, allocations: 3.092 MB / 0.6964 GB, free: 20.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.354, allocations: 3.312 kB / 0.6964 GB, free: 20.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.736e-06/1.354, allocations: 0 / 0.6964 GB, free: 20.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.859e-05/1.354, allocations: 0 / 0.6964 GB, free: 20.53 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005957/1.36, allocations: 2.493 MB / 0.6989 GB, free: 18.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.36, allocations: 9.188 kB / 0.6989 GB, free: 18.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/1.365, allocations: 0.787 MB / 0.6996 GB, free: 18.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/1.368, allocations: 1.548 MB / 0.7011 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/1.368, allocations: 175.2 kB / 0.7013 GB, free: 17.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/1.368, allocations: 148.2 kB / 0.7015 GB, free: 17.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/1.372, allocations: 1.766 MB / 0.7032 GB, free: 17.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/1.372, allocations: 0 / 0.7032 GB, free: 17.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.372, allocations: 56.31 kB / 0.7032 GB, free: 17.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/1.373, allocations: 48.94 kB / 0.7033 GB, free: 17.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/1.376, allocations: 1.568 MB / 0.7048 GB, free: 17 MB / 0.5137 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.01133/1.387, allocations: 7.476 MB / 0.7121 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/1.39, allocations: 1.707 MB / 0.7138 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.391, allocations: 0.5274 MB / 0.7143 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.393, allocations: 0.7193 MB / 0.715 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.394, allocations: 0.7078 MB / 0.7157 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001084/1.395, allocations: 132.3 kB / 0.7158 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/1.395, allocations: 0 / 0.7158 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83): time 0.004375/1.4, allocations: 1.716 MB / 0.7175 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/1.4, allocations: 295.3 kB / 0.7178 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/1.402, allocations: 1.649 MB / 0.7194 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.403, allocations: 51.92 kB / 0.7194 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009142/1.404, allocations: 0.9231 MB / 0.7203 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/1.404, allocations: 297.8 kB / 0.7206 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/1.404, allocations: 18.12 kB / 0.7206 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.404, allocations: 347 kB / 0.721 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/1.405, allocations: 496.7 kB / 0.7214 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.407, allocations: 0.8691 MB / 0.7223 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/1.408, allocations: 0.5987 MB / 0.7229 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.408, allocations: 3.344 kB / 0.7229 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003335/1.411, allocations: 1.523 MB / 0.7244 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003203/1.412, allocations: 340 kB / 0.7247 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/1.412, allocations: 13.45 kB / 0.7247 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/1.412, allocations: 17.44 kB / 0.7247 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.413, allocations: 281.3 kB / 0.725 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/1.413, allocations: 18.42 kB / 0.725 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.415, allocations: 168.8 kB / 0.7252 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.415, allocations: 51.02 kB / 0.7252 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.415, allocations: 3.375 kB / 0.7252 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002555/1.418, allocations: 1.301 MB / 0.7265 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.418, allocations: 9.75 kB / 0.7265 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.418, allocations: 12.62 kB / 0.7265 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.419, allocations: 275.2 kB / 0.7268 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.419, allocations: 14.62 kB / 0.7268 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.421, allocations: 169.9 kB / 0.7269 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.421, allocations: 46.48 kB / 0.727 GB, free: 5.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,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 (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001827/1.423, allocations: 0.5387 MB / 0.7275 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/1.423, allocations: 189.2 kB / 0.7277 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.427, allocations: 1.246 MB / 0.7289 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.427, allocations: 8 kB / 0.7289 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.427, allocations: 0 / 0.7289 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002634/1.429, allocations: 1.303 MB / 0.7302 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/1.435, allocations: 3.052 MB / 0.7332 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.435, allocations: 5.703 kB / 0.7332 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/1.436, allocations: 206.1 kB / 0.7334 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/1.437, allocations: 49.12 kB / 0.7334 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/1.437, allocations: 25.23 kB / 0.7334 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/1.438, allocations: 1.43 MB / 0.7348 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.438, allocations: 0 / 0.7348 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/1.442, allocations: 1.877 MB / 0.7367 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/1.443, allocations: 355.6 kB / 0.737 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/1.443, allocations: 19.5 kB / 0.737 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.445, allocations: 180.2 kB / 0.7372 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.445, allocations: 57.91 kB / 0.7373 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/1.445, allocations: 26.48 kB / 0.7373 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001936/1.447, allocations: 1.109 MB / 0.7384 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/1.447, allocations: 4 kB / 0.7384 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003708/1.451, allocations: 1.006 MB / 0.7394 GB, free: 11.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.heaCoo.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 (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/1.452, allocations: 0.6095 MB / 0.74 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004222/1.457, allocations: 1.978 MB / 0.7419 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.457, allocations: 0 / 0.7419 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.458, allocations: 0.6422 MB / 0.7425 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.462, allocations: 0.8425 MB / 0.7433 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/1.472, allocations: 4.443 MB / 0.7477 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.473, allocations: 1.492 MB / 0.7491 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002548/1.475, allocations: 450.1 kB / 0.7496 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/1.476, allocations: 138.2 kB / 0.7497 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of SimCode: time 1.773e-06/1.476, allocations: 1.859 kB / 0.7497 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of Templates: time 0.06486/1.541, allocations: 32.67 MB / 0.7816 GB, free: 1.977 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: