Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001121/0.001121, allocations: 116.3 kB / 16.63 MB, free: 6.793 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.00117/0.00117, allocations: 189.8 kB / 17.55 MB, free: 5.918 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.404/1.404, allocations: 205.1 MB / 223.4 MB, free: 12.49 MB / 190.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.001104/0.001104, allocations: 47.94 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 46.62 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004965/0.1128, allocations: 3.53 MB / 329.7 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1145, allocations: 0.9826 MB / 330.6 MB, free: 272 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1147, allocations: 7.938 kB / 330.6 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.115, allocations: 87.44 kB / 330.7 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1153, allocations: 158.7 kB / 330.9 MB, free: 16 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1156, allocations: 111.8 kB / 331 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.1163, allocations: 0.6302 MB / 331.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.1166, allocations: 186.8 kB / 331.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1169, allocations: 247.1 kB / 332 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1173, allocations: 274.8 kB / 332.3 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.1173, allocations: 59.94 kB / 332.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.1174, allocations: 52 kB / 332.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1175, allocations: 119.6 kB / 332.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.1179, allocations: 290.7 kB / 332.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.1185, allocations: 0.6229 MB / 333.4 MB, free: 13.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1185, allocations: 4 kB / 333.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1185, allocations: 0 / 333.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1185, allocations: 0 / 333.5 MB, free: 13.44 MB / 286.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.001372/0.1199, allocations: 0.8428 MB / 334.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1199, allocations: 8.031 kB / 334.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.12, allocations: 68.19 kB / 334.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.1206, allocations: 394.7 kB / 334.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.1207, allocations: 54.92 kB / 334.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1207, allocations: 44.27 kB / 334.9 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.1214, allocations: 449.1 kB / 335.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1214, allocations: 4 kB / 335.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1215, allocations: 16 kB / 335.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1215, allocations: 8 kB / 335.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.122, allocations: 286.4 kB / 335.6 MB, free: 11.13 MB / 286.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.001892/0.1239, allocations: 1.298 MB / 336.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1251, allocations: 448.3 kB / 337.3 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1253, allocations: 144.8 kB / 337.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1254, allocations: 8 kB / 337.5 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1254, allocations: 42.56 kB / 337.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.1254, allocations: 0 / 337.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001137/0.1265, allocations: 0.5984 MB / 338.1 MB, free: 8.426 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.1267, allocations: 445 kB / 338.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.1272, allocations: 457.9 kB / 339 MB, free: 7.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.1273, allocations: 33.7 kB / 339 MB, free: 7.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1274, allocations: 232.4 kB / 339.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.1275, allocations: 106.4 kB / 339.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1277, allocations: 77.94 kB / 339.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1279, allocations: 358.8 kB / 339.8 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1281, allocations: 100.6 kB / 339.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1284, allocations: 264 kB / 340.2 MB, free: 6.207 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.1289, allocations: 276.2 kB / 340.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1289, allocations: 3.984 kB / 340.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007318/0.1297, allocations: 420.9 kB / 340.8 MB, free: 5.492 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.1297, allocations: 29.7 kB / 340.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1297, allocations: 4.094 kB / 340.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.1299, allocations: 57.66 kB / 340.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1303, allocations: 63.91 kB / 341 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.1325, allocations: 2.965 MB / 344 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.1329, allocations: 43.72 kB / 344 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1329, allocations: 12 kB / 344 MB, free: 2.027 MB / 286.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.0001785/0.1331, allocations: 165.8 kB / 344.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1332, allocations: 51.42 kB / 344.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.1333, allocations: 52.7 kB / 344.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1333, allocations: 4 kB / 344.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1333, allocations: 3.938 kB / 344.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006685/0.134, allocations: 0.6492 MB / 344.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1352, allocations: 0.9004 MB / 345.8 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1352, allocations: 3.938 kB / 345.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1355, allocations: 67.89 kB / 345.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1355, allocations: 3.938 kB / 345.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1356, allocations: 12 kB / 345.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1356, allocations: 4 kB / 345.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1356, allocations: 0 / 345.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.1364, allocations: 0.5229 MB / 346.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1366, allocations: 168.4 kB / 346.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.1367, allocations: 8 kB / 346.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.137, allocations: 20.05 kB / 346.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1371, allocations: 19.97 kB / 346.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1371, allocations: 8 kB / 346.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.1374, allocations: 319.1 kB / 347 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1374, allocations: 0 / 347 MB, free: 14.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00044/0.1379, allocations: 131.8 kB / 347.1 MB, free: 14.73 MB / 302.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.0001344/0.138, allocations: 103.2 kB / 347.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.139, allocations: 0.5825 MB / 347.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.139, allocations: 0 / 347.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.1392, allocations: 123.9 kB / 347.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.14, allocations: 145.8 kB / 348 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1414, allocations: 1.024 MB / 349.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1418, allocations: 0.8159 MB / 349.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.142, allocations: 60.36 kB / 349.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1421, allocations: 47.36 kB / 350 MB, free: 11.73 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1421, allocations: 0 / 350 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01333/0.1555, allocations: 8.072 MB / 358.1 MB, free: 3.652 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)