Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 108 kB / 18.35 MB, free: 4.812 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.0009963/0.0009963, allocations: 192.2 kB / 19.29 MB, free: 3.887 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.226/1.226, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001165/0.001165, allocations: 51.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06874/0.06992, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005548/0.0755, allocations: 5.039 MB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.07738, allocations: 1.329 MB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.07761, allocations: 11.94 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.07797, allocations: 170.5 kB / 335.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.07849, allocations: 321.2 kB / 335.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.07886, allocations: 223.6 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009421/0.07981, allocations: 1.187 MB / 337 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.0802, allocations: 314 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.08057, allocations: 458.4 kB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.08106, allocations: 0.5018 MB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.0812, allocations: 104 kB / 338.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.08138, allocations: 108 kB / 338.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.08154, allocations: 223.3 kB / 338.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.08194, allocations: 0.5211 MB / 339.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008665/0.08282, allocations: 1.199 MB / 340.4 MB, free: 8.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.08283, allocations: 0 / 340.4 MB, free: 8.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08284, allocations: 0 / 340.4 MB, free: 8.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.08285, allocations: 0 / 340.4 MB, free: 8.016 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002105/0.08496, allocations: 1.345 MB / 341.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.08501, allocations: 11.89 kB / 341.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.08518, allocations: 107.8 kB / 341.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.086, allocations: 0.5832 MB / 342.4 MB, free: 5.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.0862, allocations: 147 kB / 342.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.08629, allocations: 64.12 kB / 342.6 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.0876, allocations: 0.8353 MB / 343.5 MB, free: 4.699 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.08763, allocations: 7.984 kB / 343.5 MB, free: 4.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.0877, allocations: 32 kB / 343.5 MB, free: 4.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.08772, allocations: 12 kB / 343.5 MB, free: 4.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.08904, allocations: 0.5985 MB / 344.1 MB, free: 4.051 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.002894/0.09194, allocations: 2.053 MB / 346.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.09321, allocations: 0.8467 MB / 347 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/0.094, allocations: 402.6 kB / 347.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.09407, allocations: 12.64 kB / 347.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.09411, allocations: 47.22 kB / 347.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.09412, allocations: 0 / 347.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004759/0.09888, allocations: 1.808 MB / 349.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000295/0.09919, allocations: 0.8195 MB / 350.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/0.09993, allocations: 0.6332 MB / 350.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.09999, allocations: 45.7 kB / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.1002, allocations: 333 kB / 351.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.1004, allocations: 256.2 kB / 351.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.1007, allocations: 142.7 kB / 351.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1008, allocations: 390.7 kB / 351.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/0.1015, allocations: 269.8 kB / 352.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.1024, allocations: 0.5546 MB / 352.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.1037, allocations: 0.6778 MB / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1037, allocations: 3.938 kB / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00244/0.1062, allocations: 1.094 MB / 354.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1062, allocations: 89.09 kB / 354.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1062, allocations: 0 / 354.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.1069, allocations: 231.3 kB / 354.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.1075, allocations: 147.8 kB / 354.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/0.1146, allocations: 6.916 MB / 361.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.1153, allocations: 107.5 kB / 361.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.1154, allocations: 31.94 kB / 362 MB, free: 0.9219 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.1157, allocations: 217.7 kB / 362.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1158, allocations: 87.06 kB / 362.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.116, allocations: 91.33 kB / 362.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002336/0.1183, allocations: 1.233 MB / 363.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1183, allocations: 0 / 363.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.1186, allocations: 243.9 kB / 363.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1187, allocations: 19.92 kB / 363.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.1194, allocations: 55.89 kB / 363.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1195, allocations: 60.77 kB / 364 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002888/0.1224, allocations: 1.03 MB / 365 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002203/0.1246, allocations: 1.244 MB / 366.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006286/0.1253, allocations: 313 kB / 366.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.1257, allocations: 459 kB / 367 MB, free: 11.72 MB / 318.1 MB Notification: Performance of Backend: time 2.6e-07/0.1258, allocations: 0 / 367 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.1276, allocations: 1.204 MB / 368.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of SimCode: time 0.002395/0.13, allocations: 2.145 MB / 370.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of Templates: time 0.1336/0.2636, allocations: 17.56 MB / 387.9 MB, free: 51.48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)