Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Annex60.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3014/0.3014, allocations: 54.32 MB / 66.88 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001194/0.001194, allocations: 182 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.636/1.636, allocations: 194.2 MB / 288.6 MB, free: 15.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.00164, allocations: 111.8 kB / 346.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.818e-05/4.837e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.105, allocations: 349.6 MB / 0.8004 GB, free: 29.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.105, allocations: 91.39 kB / 0.8005 GB, free: 29.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.525/10.63, allocations: 2.329 GB / 3.129 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/10.63, allocations: 0 / 3.129 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0009739/10.63, allocations: 164.9 kB / 3.129 GB, free: 26.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.01946/10.65, allocations: 5.804 MB / 3.135 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/10.65, allocations: 10.09 kB / 3.135 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/10.66, allocations: 0.758 MB / 3.136 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1157/10.77, allocations: 57.16 MB / 3.192 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/10.77, allocations: 308 kB / 3.192 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/10.77, allocations: 415.9 kB / 3.192 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/10.78, allocations: 4.622 MB / 3.197 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-05/10.78, allocations: 15.88 kB / 3.197 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/10.78, allocations: 168 kB / 3.197 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/10.78, allocations: 120 kB / 3.197 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008772/10.79, allocations: 3.214 MB / 3.2 GB, free: 2.098 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.7951/11.59, allocations: 24.29 MB / 3.224 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008548/11.6, allocations: 3.174 MB / 3.227 GB, free: 28.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/11.6, allocations: 1.219 MB / 3.228 GB, free: 28.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002716/11.6, allocations: 3.615 MB / 3.232 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.723e-05/11.6, allocations: 62.64 kB / 3.232 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=242): time 5.39e-06/11.6, allocations: 1.625 kB / 3.232 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=258): time 0.03333/11.64, allocations: 8.366 MB / 3.24 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/11.64, allocations: 130.5 kB / 3.24 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007488/11.64, allocations: 3.423 MB / 3.244 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/11.64, allocations: 78.17 kB / 3.244 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/11.65, allocations: 2.679 MB / 3.246 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/11.65, allocations: 0.8894 MB / 3.247 GB, free: 22.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/11.65, allocations: 57.31 kB / 3.247 GB, free: 22.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001739/11.65, allocations: 417 kB / 3.248 GB, free: 21.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/11.65, allocations: 0.9141 MB / 3.248 GB, free: 21.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/11.65, allocations: 1.901 MB / 3.25 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/11.65, allocations: 1.209 MB / 3.251 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/11.65, allocations: 6.594 kB / 3.252 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01273/11.67, allocations: 4.387 MB / 3.256 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003565/11.67, allocations: 10.1 MB / 3.266 GB, free: 25.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/11.67, allocations: 24.02 kB / 3.266 GB, free: 25.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/11.67, allocations: 0.5469 MB / 3.266 GB, free: 25.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/11.67, allocations: 0.664 MB / 3.267 GB, free: 25.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/11.68, allocations: 4.967 MB / 3.272 GB, free: 21.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00718/11.69, allocations: 0.5288 MB / 3.272 GB, free: 21.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009824/11.69, allocations: 139 kB / 3.272 GB, free: 21.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/11.69, allocations: 4.875 kB / 3.272 GB, free: 21.22 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007297/11.69, allocations: 2.936 MB / 3.275 GB, free: 21.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/11.69, allocations: 24.19 kB / 3.275 GB, free: 21.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/11.69, allocations: 366 kB / 3.276 GB, free: 21.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/11.7, allocations: 0.6593 MB / 3.276 GB, free: 21.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/11.71, allocations: 11.05 MB / 3.287 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/11.71, allocations: 452.2 kB / 3.287 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/11.71, allocations: 133 kB / 3.288 GB, free: 11.7 MB / 0.6667 GB Warning: Assuming fixed start value for the following 2 variables: hea8.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea8.vol.rho_start unit = "kg" protected = true final = true ) "Mass of fluid" type: Real hea4.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea4.vol.rho_start unit = "kg" protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (328): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 7,1 3,1 7,1 3,1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001228/11.72, allocations: 311 kB / 3.288 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/11.72, allocations: 0.5037 MB / 3.288 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/11.73, allocations: 5.13 MB / 3.293 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/11.73, allocations: 48.22 kB / 3.293 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/11.73, allocations: 1.188 kB / 3.293 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01014/11.74, allocations: 3.878 MB / 3.297 GB, free: 10.8 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.02588/11.77, allocations: 10.23 MB / 3.307 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/11.77, allocations: 13.2 kB / 3.307 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/11.77, allocations: 448.1 kB / 3.308 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009165/11.77, allocations: 0.5079 MB / 3.308 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/11.77, allocations: 85.09 kB / 3.308 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/11.79, allocations: 12.17 MB / 3.32 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/11.79, allocations: 6.781 kB / 3.32 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/11.81, allocations: 6.691 MB / 3.327 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004533/11.81, allocations: 0.9601 MB / 3.328 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/11.81, allocations: 67.91 kB / 3.328 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006364/11.82, allocations: 0.5002 MB / 3.328 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007169/11.82, allocations: 218.6 kB / 3.328 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003856/11.82, allocations: 113.9 kB / 3.328 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.006484/11.83, allocations: 2.596 MB / 3.331 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/11.83, allocations: 1.875 kB / 3.331 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01936/11.85, allocations: 3.163 MB / 3.334 GB, free: 13.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 (hea1.vol.ports[1].h_outflow,hea2.vol.ports[1].h_outflow,hea3.vol.ports[1].h_outflow,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.ports[2].h_outflow,hea5.vol.ports[1].h_outflow,hea6.vol.ports[1].h_outflow,hea7.vol.ports[1].h_outflow,hea8.vol.dynBal.U,hea8.vol.dynBal.m,mix2.ports[2].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 7,1 5,1 3,1 1,1 7,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007078/11.85, allocations: 3.349 MB / 3.337 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01333/11.87, allocations: 5.309 MB / 3.343 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/11.87, allocations: 4.375 kB / 3.343 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00377/11.87, allocations: 2.296 MB / 3.345 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01629/11.89, allocations: 2.759 MB / 3.347 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/11.9, allocations: 7.769 MB / 3.355 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/11.91, allocations: 3.02 MB / 3.358 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.009202/11.92, allocations: 1.535 MB / 3.36 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/11.92, allocations: 334.7 kB / 3.36 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of SimCode: time 1.774e-06/11.92, allocations: 0.6562 kB / 3.36 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.9534/12.87, allocations: 140.8 MB / 3.497 GB, free: 97.13 MB / 0.7136 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)