Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009288/0.009288, allocations: 174.1 kB / 16.26 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 15.33 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2379, allocations: 47.59 MB / 327 MB, free: 1.738 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003193/0.2411, allocations: 3.144 MB / 330.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2428, allocations: 0.9155 MB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.243, allocations: 5.219 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2433, allocations: 93.36 kB / 331.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.2436, allocations: 156.7 kB / 331.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2439, allocations: 104.7 kB / 331.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.2445, allocations: 0.6138 MB / 332.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.2448, allocations: 166.4 kB / 332.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.2451, allocations: 218.1 kB / 332.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.2454, allocations: 251.4 kB / 332.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.2454, allocations: 34.12 kB / 332.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.2455, allocations: 35.81 kB / 332.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2457, allocations: 97.41 kB / 332.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.246, allocations: 297.7 kB / 333.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.2466, allocations: 0.6055 MB / 333.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2466, allocations: 1.094 kB / 333.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2466, allocations: 0 / 333.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2466, allocations: 0 / 333.7 MB, free: 12.7 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001203/0.2478, allocations: 0.7576 MB / 334.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2478, allocations: 13.97 kB / 334.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.248, allocations: 65.53 kB / 334.6 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.2485, allocations: 386.8 kB / 334.9 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/0.2486, allocations: 58.84 kB / 335 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.2487, allocations: 40.28 kB / 335 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.2494, allocations: 469 kB / 335.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2494, allocations: 4 kB / 335.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2495, allocations: 16 kB / 335.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2495, allocations: 8 kB / 335.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.2501, allocations: 286.5 kB / 335.8 MB, free: 10.66 MB / 270.1 MB 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.00199/0.2521, allocations: 1.294 MB / 337.1 MB, free: 9.273 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2532, allocations: 441.2 kB / 337.5 MB, free: 8.816 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.2535, allocations: 148.7 kB / 337.7 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.2535, allocations: 11.97 kB / 337.7 MB, free: 8.656 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2535, allocations: 46.56 kB / 337.7 MB, free: 8.602 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.562e-06/0.2535, allocations: 0 / 337.7 MB, free: 8.602 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001135/0.2547, allocations: 0.6141 MB / 338.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.2549, allocations: 448.9 kB / 338.8 MB, free: 7.395 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.2554, allocations: 453.9 kB / 339.2 MB, free: 6.941 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.2555, allocations: 33.7 kB / 339.3 MB, free: 6.902 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.2556, allocations: 228.5 kB / 339.5 MB, free: 6.676 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.2557, allocations: 106.4 kB / 339.6 MB, free: 6.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.2558, allocations: 33.7 kB / 339.6 MB, free: 6.531 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.256, allocations: 362.8 kB / 340 MB, free: 6.168 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.2562, allocations: 104.6 kB / 340.1 MB, free: 6.062 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2565, allocations: 264 kB / 340.3 MB, free: 5.754 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.257, allocations: 288.9 kB / 340.6 MB, free: 5.461 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2571, allocations: 0 / 340.6 MB, free: 5.461 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007257/0.2578, allocations: 428.9 kB / 341 MB, free: 5.023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.2578, allocations: 29.7 kB / 341.1 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2579, allocations: 4.031 kB / 341.1 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.258, allocations: 49.69 kB / 341.1 MB, free: 4.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.2584, allocations: 67.91 kB / 341.2 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.2609, allocations: 2.756 MB / 343.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.2613, allocations: 47.62 kB / 344 MB, free: 1.793 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2614, allocations: 12 kB / 344 MB, free: 1.781 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.2616, allocations: 169.7 kB / 344.2 MB, free: 1.605 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.2617, allocations: 55.44 kB / 344.2 MB, free: 1.551 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.467e-05/0.2618, allocations: 48.7 kB / 344.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2618, allocations: 0 / 344.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2618, allocations: 4 kB / 344.3 MB, free: 1.5 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006974/0.2625, allocations: 0.657 MB / 344.9 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.2639, allocations: 0.9122 MB / 345.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2639, allocations: 3.938 kB / 345.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.2642, allocations: 71.89 kB / 345.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2642, allocations: 4 kB / 345.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2643, allocations: 11.94 kB / 345.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2643, allocations: 3.984 kB / 345.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2643, allocations: 0 / 345.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.2651, allocations: 0.5349 MB / 346.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.2653, allocations: 160.4 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.2654, allocations: 12 kB / 346.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.2657, allocations: 19.98 kB / 346.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.2658, allocations: 23.91 kB / 346.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2658, allocations: 8 kB / 346.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.2661, allocations: 319.1 kB / 347 MB, free: 14.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2661, allocations: 4.062 kB / 347 MB, free: 14.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.2666, allocations: 127.8 kB / 347.1 MB, free: 14.45 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001652/0.2668, allocations: 111.2 kB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009802/0.2678, allocations: 0.563 MB / 347.8 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.2678, allocations: 4 kB / 347.8 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.2681, allocations: 131.8 kB / 347.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.2688, allocations: 129.8 kB / 348.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2706, allocations: 1.103 MB / 349.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.271, allocations: 0.8236 MB / 350 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.2713, allocations: 60.36 kB / 350 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.2714, allocations: 35.44 kB / 350.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2714, allocations: 4 kB / 350.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of Templates: time 0.01361/0.285, allocations: 7.586 MB / 357.7 MB, free: 3.789 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)