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.0008793/0.0008792, allocations: 91.3 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.005186/0.005185, allocations: 170 kB / 16.26 MB, free: 6.613 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0005585/0.0005586, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.293, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003834/0.2969, allocations: 3.317 MB / 330.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2988, allocations: 0.9432 MB / 331.3 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.299, allocations: 9.156 kB / 331.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2993, allocations: 90.67 kB / 331.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.2997, allocations: 172.5 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3, allocations: 112.9 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008197/0.3008, allocations: 0.6439 MB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.3012, allocations: 177.9 kB / 332.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3015, allocations: 224 kB / 332.7 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.3019, allocations: 275.2 kB / 333 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.784e-05/0.302, allocations: 40.34 kB / 333 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.3021, allocations: 35.97 kB / 333 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3022, allocations: 106.6 kB / 333.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.3026, allocations: 306.8 kB / 333.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.3034, allocations: 0.6488 MB / 334.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3034, allocations: 0.9375 kB / 334.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3034, allocations: 0 / 334.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3034, allocations: 0 / 334.1 MB, free: 12.1 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.001661/0.3051, allocations: 0.8065 MB / 334.9 MB, free: 11.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3051, allocations: 8.031 kB / 334.9 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3053, allocations: 68.19 kB / 335 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.306, allocations: 446.4 kB / 335.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.3062, allocations: 90.88 kB / 335.5 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.3063, allocations: 28.38 kB / 335.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.3072, allocations: 0.5049 MB / 336 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3072, allocations: 0 / 336 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.3072, allocations: 16 kB / 336 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3073, allocations: 8 kB / 336.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.3082, allocations: 386.4 kB / 336.4 MB, free: 9.766 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.002055/0.3102, allocations: 1.306 MB / 337.7 MB, free: 8.371 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.311, allocations: 411.3 kB / 338.1 MB, free: 7.941 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.3115, allocations: 201.9 kB / 338.3 MB, free: 7.742 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3115, allocations: 8 kB / 338.3 MB, free: 7.734 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3115, allocations: 38.56 kB / 338.4 MB, free: 7.688 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.3116, allocations: 4 kB / 338.4 MB, free: 7.684 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001773/0.3133, allocations: 0.79 MB / 339.2 MB, free: 6.844 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.3135, allocations: 445 kB / 339.6 MB, free: 6.305 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.3141, allocations: 461.9 kB / 340.1 MB, free: 5.844 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.3141, allocations: 33.7 kB / 340.1 MB, free: 5.805 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3143, allocations: 240.4 kB / 340.3 MB, free: 5.566 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.3144, allocations: 118.3 kB / 340.4 MB, free: 5.449 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.3145, allocations: 33.7 kB / 340.5 MB, free: 5.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3146, allocations: 366.7 kB / 340.8 MB, free: 5.043 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.3151, allocations: 155.9 kB / 341 MB, free: 4.891 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.3157, allocations: 314.5 kB / 341.3 MB, free: 4.527 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/0.3167, allocations: 381.2 kB / 341.7 MB, free: 4.145 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3167, allocations: 0 / 341.7 MB, free: 4.145 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001201/0.3179, allocations: 0.5291 MB / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.3179, allocations: 33.64 kB / 342.2 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.318, allocations: 0 / 342.2 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.3182, allocations: 57.67 kB / 342.3 MB, free: 3.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.3187, allocations: 95.88 kB / 342.4 MB, free: 3.402 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.3212, allocations: 2.74 MB / 345.1 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.3218, allocations: 67.77 kB / 345.2 MB, free: 332 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3218, allocations: 11.98 kB / 345.2 MB, free: 320 kB / 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 (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.0003581/0.3222, allocations: 173.7 kB / 345.4 MB, free: 136 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3223, allocations: 59.52 kB / 345.4 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3224, allocations: 60.75 kB / 345.5 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3224, allocations: 3.984 kB / 345.5 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.3224, allocations: 4 kB / 345.5 MB, free: 8 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.3237, allocations: 0.7673 MB / 346.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.3255, allocations: 1.056 MB / 347.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3256, allocations: 0 / 347.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.326, allocations: 111.8 kB / 347.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.326, allocations: 0 / 347.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3261, allocations: 4 kB / 347.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3261, allocations: 4 kB / 347.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3261, allocations: 80 / 347.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3275, allocations: 0.7177 MB / 348.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.3278, allocations: 172.4 kB / 348.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.3278, allocations: 8 kB / 348.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.3283, allocations: 44.03 kB / 348.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.3284, allocations: 23.97 kB / 348.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3284, allocations: 11.98 kB / 348.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003904/0.3288, allocations: 323.1 kB / 348.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3288, allocations: 0 / 348.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.3293, allocations: 143.7 kB / 348.9 MB, free: 12.44 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 (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.0001877/0.3295, allocations: 111.4 kB / 349 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3309, allocations: 0.6921 MB / 349.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3309, allocations: 0 / 349.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3314, allocations: 199.8 kB / 349.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.3322, allocations: 136.3 kB / 350 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3339, allocations: 1.159 MB / 351.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.3344, allocations: 0.8275 MB / 352 MB, free: 9.227 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.3346, allocations: 60.36 kB / 352 MB, free: 9.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3348, allocations: 47.42 kB / 352.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3348, allocations: 3.938 kB / 352.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Templates: time 0.01479/0.3496, allocations: 8.172 MB / 360.3 MB, free: 0.9297 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (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)