Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001343/0.001343, allocations: 103.1 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.001622/0.001622, allocations: 173.3 kB / 15.95 MB, free: 212 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.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0005073/0.000508, allocations: 8 kB / 278.9 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 47.59 MB / 326.4 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003246/0.2739, allocations: 2.923 MB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2757, allocations: 0.9357 MB / 330.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.276, allocations: 8.438 kB / 330.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.2762, allocations: 75.14 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.2766, allocations: 210.3 kB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.2769, allocations: 94.55 kB / 330.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.2775, allocations: 471.5 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.2779, allocations: 153.7 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2781, allocations: 213 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2784, allocations: 248.3 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.2785, allocations: 32.72 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.2786, allocations: 32.38 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.2787, allocations: 89.56 kB / 331.9 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2789, allocations: 133.8 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.2793, allocations: 493.2 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2793, allocations: 4 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2793, allocations: 0 / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.2794, allocations: 0 / 332.5 MB, free: 12.84 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.001477/0.2808, allocations: 0.8098 MB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2809, allocations: 8.875 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.281, allocations: 65.16 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.2817, allocations: 396.6 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.282, allocations: 86.47 kB / 333.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.282, allocations: 36.78 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008715/0.2829, allocations: 0.4912 MB / 334.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2829, allocations: 0 / 334.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.283, allocations: 16.97 kB / 334.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.283, allocations: 7.188 kB / 334.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.2839, allocations: 385.7 kB / 334.8 MB, free: 11 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.001799/0.2857, allocations: 1.271 MB / 336.1 MB, free: 9.645 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.2865, allocations: 415.3 kB / 336.5 MB, free: 9.211 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.2865, allocations: 5.188 kB / 336.5 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2866, allocations: 42.56 kB / 336.5 MB, free: 9.156 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.2866, allocations: 0 / 336.5 MB, free: 9.156 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.00172/0.2883, allocations: 0.7784 MB / 337.3 MB, free: 8.328 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/0.2885, allocations: 456.9 kB / 337.7 MB, free: 7.777 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.289, allocations: 422 kB / 338.2 MB, free: 7.355 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.2891, allocations: 33.7 kB / 338.2 MB, free: 7.316 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2893, allocations: 236.4 kB / 338.4 MB, free: 7.082 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2894, allocations: 130.2 kB / 338.5 MB, free: 6.953 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.2894, allocations: 7.938 kB / 338.5 MB, free: 6.945 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2895, allocations: 366.7 kB / 338.9 MB, free: 6.578 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.29, allocations: 155.9 kB / 339.1 MB, free: 6.426 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.2905, allocations: 306.6 kB / 339.4 MB, free: 6.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.291, allocations: 211.2 kB / 339.6 MB, free: 5.859 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.291, allocations: 0 / 339.6 MB, free: 5.859 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001046/0.292, allocations: 0.5139 MB / 340.1 MB, free: 5.328 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.2921, allocations: 33.7 kB / 340.1 MB, free: 5.289 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2921, allocations: 0 / 340.1 MB, free: 5.289 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.2922, allocations: 49.69 kB / 340.2 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.2927, allocations: 99.88 kB / 340.3 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.295, allocations: 2.767 MB / 343 MB, free: 2.102 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.2955, allocations: 59.7 kB / 343.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.2956, allocations: 23.94 kB / 343.1 MB, free: 2.02 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.0002106/0.2958, allocations: 173.8 kB / 343.3 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.2959, allocations: 51.44 kB / 343.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.063e-05/0.296, allocations: 49.14 kB / 343.4 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.296, allocations: 4 kB / 343.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.296, allocations: 3.984 kB / 343.4 MB, free: 1.734 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.2971, allocations: 0.775 MB / 344.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.2988, allocations: 1.036 MB / 345.2 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2988, allocations: 4 kB / 345.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.2993, allocations: 99.86 kB / 345.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2993, allocations: 4 kB / 345.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2993, allocations: 4 kB / 345.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2993, allocations: 0 / 345.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.2993, allocations: 7.953 kB / 345.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.3007, allocations: 0.7137 MB / 346 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.3009, allocations: 160.5 kB / 346.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.3009, allocations: 12 kB / 346.2 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.3013, allocations: 44.02 kB / 346.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.3014, allocations: 23.92 kB / 346.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3014, allocations: 8 kB / 346.3 MB, free: 14.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.3017, allocations: 303.1 kB / 346.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3018, allocations: 0 / 346.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.3022, allocations: 135.8 kB / 346.7 MB, free: 14.22 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.0001354/0.3024, allocations: 111.1 kB / 346.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3037, allocations: 0.6879 MB / 347.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3037, allocations: 4.062 kB / 347.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.3041, allocations: 195.8 kB / 347.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.3047, allocations: 121.8 kB / 347.8 MB, free: 13.06 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3063, allocations: 1.121 MB / 348.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3066, allocations: 0.8352 MB / 349.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.3068, allocations: 55.38 kB / 349.8 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.3069, allocations: 35.44 kB / 349.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.307, allocations: 0 / 349.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of Templates: time 0.01232/0.3193, allocations: 7.446 MB / 357.3 MB, free: 3.512 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) Environment - environmentSimulation: