Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001055/0.001055, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001121/0.001121, allocations: 200 kB / 18.01 MB, free: 5.055 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.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001466/0.001466, allocations: 47.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005477/0.1194, allocations: 3.65 MB / 378.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2644/0.3838, allocations: 1.023 MB / 379.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.3844, allocations: 6.969 kB / 379.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.3849, allocations: 108.5 kB / 379.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.3854, allocations: 195.7 kB / 379.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3858, allocations: 133.3 kB / 379.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007363/0.3865, allocations: 0.6796 MB / 380.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.3869, allocations: 192.7 kB / 380.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3872, allocations: 262.1 kB / 380.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.3875, allocations: 292.9 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.3876, allocations: 59.42 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3878, allocations: 58.03 kB / 381.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3879, allocations: 131.7 kB / 381.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.3883, allocations: 309.3 kB / 381.5 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.3892, allocations: 0.686 MB / 382.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3892, allocations: 2.625 kB / 382.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3893, allocations: 0 / 382.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3893, allocations: 0 / 382.2 MB, free: 9.203 MB / 318.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.001647/0.3909, allocations: 0.8948 MB / 383.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.391, allocations: 9.312 kB / 383.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3911, allocations: 66.47 kB / 383.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.3919, allocations: 438.5 kB / 383.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.825e-05/0.392, allocations: 57.28 kB / 383.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.3921, allocations: 32.12 kB / 383.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.393, allocations: 494.3 kB / 384.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.393, allocations: 0 / 384.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.393, allocations: 17.97 kB / 384.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3931, allocations: 6.719 kB / 384.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.3939, allocations: 338.1 kB / 384.5 MB, free: 7.984 MB / 318.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.002213/0.3962, allocations: 1.284 MB / 385.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.3969, allocations: 382.4 kB / 386.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.3974, allocations: 177.9 kB / 386.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.3974, allocations: 12.45 kB / 386.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3974, allocations: 43.78 kB / 386.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.3975, allocations: 0 / 386.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001663/0.3991, allocations: 0.721 MB / 387.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3992, allocations: 448.3 kB / 387.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.3998, allocations: 457.3 kB / 388 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3998, allocations: 33.83 kB / 388.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4, allocations: 240.3 kB / 388.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.4001, allocations: 118.2 kB / 388.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4002, allocations: 79.11 kB / 388.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.4003, allocations: 365.1 kB / 388.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.4007, allocations: 137.1 kB / 389 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.4012, allocations: 283.8 kB / 389.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.402, allocations: 338.6 kB / 389.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.402, allocations: 0 / 389.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009757/0.4029, allocations: 479.9 kB / 390.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.403, allocations: 38.95 kB / 390.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.403, allocations: 1.656 kB / 390.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.4032, allocations: 51.27 kB / 390.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.4036, allocations: 86.42 kB / 390.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.4056, allocations: 2.967 MB / 393.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.4061, allocations: 49.38 kB / 393.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4062, allocations: 20.95 kB / 393.3 MB, free: 1.289 MB / 318.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.0002139/0.4064, allocations: 170.5 kB / 393.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.4065, allocations: 50.09 kB / 393.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.561e-05/0.4066, allocations: 50.8 kB / 393.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4066, allocations: 4.922 kB / 393.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4066, allocations: 0.75 kB / 393.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009028/0.4075, allocations: 0.7353 MB / 394.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.4093, allocations: 1.016 MB / 395.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4093, allocations: 1.781 kB / 395.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.4097, allocations: 89.34 kB / 395.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4098, allocations: 2 kB / 395.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.4098, allocations: 10.16 kB / 395.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4098, allocations: 1.438 kB / 395.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4098, allocations: 5.406 kB / 395.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.4112, allocations: 0.6509 MB / 396 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.4115, allocations: 162.6 kB / 396.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.4115, allocations: 16.88 kB / 396.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4119, allocations: 29.33 kB / 396.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.412, allocations: 27.97 kB / 396.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4121, allocations: 10.98 kB / 396.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004675/0.4126, allocations: 322.4 kB / 396.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4126, allocations: 0 / 396.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006805/0.4132, allocations: 135.3 kB / 396.7 MB, free: 15.15 MB / 334.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.0002004/0.4135, allocations: 114.8 kB / 396.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.4151, allocations: 0.6301 MB / 397.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4151, allocations: 5.219 kB / 397.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.4156, allocations: 182 kB / 397.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.4164, allocations: 143.6 kB / 397.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.4184, allocations: 0.9094 MB / 398.7 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.4189, allocations: 0.8328 MB / 399.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.4192, allocations: 63.3 kB / 399.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4193, allocations: 41.7 kB / 399.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4193, allocations: 0 / 399.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.02027/0.4396, allocations: 9.2 MB / 408.8 MB, free: 9.547 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)