Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001637/0.001637, allocations: 168.7 kB / 15.95 MB, free: 204 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005715/0.0005717, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2165, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003453/0.22, allocations: 3.159 MB / 329.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2217, allocations: 0.9071 MB / 330.5 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2219, allocations: 9.969 kB / 330.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2222, allocations: 75.38 kB / 330.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.2225, allocations: 170.1 kB / 330.8 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2228, allocations: 94.7 kB / 330.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.2234, allocations: 0.5986 MB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.2237, allocations: 153.2 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.2239, allocations: 223.4 kB / 331.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2242, allocations: 263.6 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.2243, allocations: 36.22 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.2244, allocations: 39.84 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.2245, allocations: 102.5 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2246, allocations: 129.5 kB / 332.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.2251, allocations: 0.5064 MB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2251, allocations: 0 / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2251, allocations: 4 kB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2251, allocations: 0.9688 kB / 332.9 MB, free: 12.54 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001358/0.2265, allocations: 0.8095 MB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2265, allocations: 10.12 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2267, allocations: 64.06 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.2273, allocations: 431.5 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.2275, allocations: 81.64 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.2276, allocations: 32.88 kB / 334.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.2284, allocations: 0.4911 MB / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2285, allocations: 4 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.2285, allocations: 16 kB / 334.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2285, allocations: 8 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.2294, allocations: 382.3 kB / 335.2 MB, free: 10.55 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.002014/0.2314, allocations: 1.306 MB / 336.5 MB, free: 9.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.2322, allocations: 403.4 kB / 336.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.2326, allocations: 205.9 kB / 337.1 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.2326, allocations: 4 kB / 337.1 MB, free: 8.531 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2327, allocations: 38.56 kB / 337.2 MB, free: 8.484 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.2327, allocations: 4 kB / 337.2 MB, free: 8.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001636/0.2343, allocations: 0.7939 MB / 338 MB, free: 7.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.2345, allocations: 441 kB / 338.4 MB, free: 7.102 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.235, allocations: 458 kB / 338.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.2351, allocations: 33.7 kB / 338.9 MB, free: 6.605 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.2352, allocations: 240.4 kB / 339.1 MB, free: 6.367 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/0.2354, allocations: 122.2 kB / 339.2 MB, free: 6.246 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.2354, allocations: 4 kB / 339.2 MB, free: 6.242 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2355, allocations: 362.7 kB / 339.6 MB, free: 5.879 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.2359, allocations: 163.9 kB / 339.8 MB, free: 5.719 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.2364, allocations: 318.5 kB / 340.1 MB, free: 5.352 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.2368, allocations: 207.2 kB / 340.3 MB, free: 5.145 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2368, allocations: 0 / 340.3 MB, free: 5.145 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001006/0.2378, allocations: 0.51 MB / 340.8 MB, free: 4.617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2379, allocations: 37.69 kB / 340.8 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2379, allocations: 0 / 340.8 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.2381, allocations: 49.7 kB / 340.9 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.2385, allocations: 95.86 kB / 341 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.2408, allocations: 2.74 MB / 343.7 MB, free: 1.418 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.2413, allocations: 75.67 kB / 343.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.2413, allocations: 12 kB / 343.8 MB, free: 1.332 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.2416, allocations: 169.8 kB / 343.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.2416, allocations: 47.44 kB / 344 MB, free: 1.109 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.721e-05/0.2418, allocations: 60.75 kB / 344.1 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2418, allocations: 0 / 344.1 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2418, allocations: 7.938 kB / 344.1 MB, free: 1.043 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009723/0.2428, allocations: 0.7635 MB / 344.8 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2444, allocations: 1.063 MB / 345.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2444, allocations: 0 / 345.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.2448, allocations: 107.9 kB / 346 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2449, allocations: 0 / 346 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2449, allocations: 4 kB / 346 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2449, allocations: 7.953 kB / 346 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2449, allocations: 0 / 346 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2462, allocations: 0.7173 MB / 346.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.2464, allocations: 164.5 kB / 346.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.2465, allocations: 11.98 kB / 346.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.2469, allocations: 44.03 kB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.247, allocations: 31.91 kB / 347 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.247, allocations: 12 kB / 347 MB, free: 13.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.2473, allocations: 323 kB / 347.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2474, allocations: 0 / 347.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.2478, allocations: 135.8 kB / 347.4 MB, free: 13.48 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001245/0.2479, allocations: 111.2 kB / 347.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2491, allocations: 0.692 MB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2491, allocations: 0 / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.2496, allocations: 199.8 kB / 348.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.2503, allocations: 136.8 kB / 348.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2519, allocations: 1.114 MB / 349.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2522, allocations: 0.8236 MB / 350.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.2525, allocations: 64.3 kB / 350.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2526, allocations: 43.42 kB / 350.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2526, allocations: 4 kB / 350.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of Templates: time 0.01259/0.2652, allocations: 7.832 MB / 358.4 MB, free: 2.352 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)