Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001462, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.547/1.547, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001501/0.001501, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.299, allocations: 46.62 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004801/0.3038, allocations: 3.036 MB / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3063, allocations: 1.177 MB / 329 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.3065, allocations: 7.812 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.3072, allocations: 147.1 kB / 329.2 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.3077, allocations: 162.5 kB / 329.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.3082, allocations: 133.6 kB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.3088, allocations: 428.2 kB / 329.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.3091, allocations: 102.5 kB / 330 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.3094, allocations: 175.9 kB / 330.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3097, allocations: 200.1 kB / 330.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.3098, allocations: 27.53 kB / 330.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3099, allocations: 68.59 kB / 330.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3101, allocations: 84.53 kB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.3103, allocations: 190.9 kB / 330.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.3109, allocations: 453.8 kB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3109, allocations: 0 / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3109, allocations: 4 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3109, allocations: 1.188 kB / 331.2 MB, free: 13.26 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001154/0.3121, allocations: 0.6814 MB / 331.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3121, allocations: 9.344 kB / 331.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.3122, allocations: 55.42 kB / 331.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.3127, allocations: 316 kB / 332.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3127, allocations: 19.09 kB / 332.3 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.3128, allocations: 32.61 kB / 332.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.3134, allocations: 289.1 kB / 332.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3134, allocations: 5.031 kB / 332.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.3135, allocations: 15.52 kB / 332.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3135, allocations: 13.45 kB / 332.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.3138, allocations: 172 kB / 332.8 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3152, allocations: 0.8525 MB / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.3158, allocations: 263.4 kB / 333.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.316, allocations: 97.39 kB / 334 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.3161, allocations: 8.281 kB / 334 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.3165, allocations: 160.9 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 3.446e-06/0.3165, allocations: 0 / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002291/0.3188, allocations: 1.328 MB / 335.5 MB, free: 9.156 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.319, allocations: 183.9 kB / 335.6 MB, free: 8.934 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3193, allocations: 356.5 kB / 336 MB, free: 8.574 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3194, allocations: 33.7 kB / 336 MB, free: 8.535 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3195, allocations: 192.6 kB / 336.2 MB, free: 8.344 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3196, allocations: 134 kB / 336.3 MB, free: 8.211 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3197, allocations: 78.03 kB / 336.4 MB, free: 8.129 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3199, allocations: 354.8 kB / 336.8 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3201, allocations: 84.83 kB / 336.9 MB, free: 7.688 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3203, allocations: 185.2 kB / 337 MB, free: 7.473 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3207, allocations: 246.2 kB / 337.3 MB, free: 7.219 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3207, allocations: 4 kB / 337.3 MB, free: 7.215 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006037/0.3213, allocations: 362.2 kB / 337.6 MB, free: 6.852 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3213, allocations: 4 kB / 337.6 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3214, allocations: 0 / 337.6 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.75e-05/0.3215, allocations: 24.84 kB / 337.7 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3218, allocations: 87.84 kB / 337.7 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3231, allocations: 1.398 MB / 339.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.3233, allocations: 16.02 kB / 339.2 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3233, allocations: 12 kB / 339.2 MB, free: 5.172 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.3235, allocations: 169.7 kB / 339.3 MB, free: 4.996 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.3236, allocations: 39.53 kB / 339.4 MB, free: 4.957 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.3237, allocations: 47.95 kB / 339.4 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3237, allocations: 4 kB / 339.4 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3237, allocations: 8 kB / 339.4 MB, free: 4.895 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000674/0.3244, allocations: 0.6531 MB / 340.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.3258, allocations: 0.846 MB / 340.9 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3258, allocations: 8.031 kB / 340.9 MB, free: 3.215 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.3262, allocations: 75.91 kB / 341 MB, free: 3.141 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3262, allocations: 4 kB / 341 MB, free: 3.137 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3262, allocations: 8 kB / 341 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3262, allocations: 4 kB / 341 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3262, allocations: 0 / 341 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007737/0.327, allocations: 0.5541 MB / 341.6 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3272, allocations: 132.7 kB / 341.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.3272, allocations: 12 kB / 341.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3274, allocations: 15.98 kB / 341.7 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.3275, allocations: 23.97 kB / 341.8 MB, free: 2.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.3276, allocations: 16 kB / 341.8 MB, free: 2.328 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.3278, allocations: 255 kB / 342 MB, free: 2.082 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3278, allocations: 0 / 342 MB, free: 2.082 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000394/0.3282, allocations: 111.9 kB / 342.1 MB, free: 1.973 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001029/0.3293, allocations: 422.1 kB / 342.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.33, allocations: 390.5 kB / 342.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.33, allocations: 0 / 342.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.3302, allocations: 135.8 kB / 343.1 MB, free: 1.031 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3308, allocations: 89.25 kB / 343.2 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3326, allocations: 1.179 MB / 344.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.3331, allocations: 0.8002 MB / 345.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3333, allocations: 51.23 kB / 345.2 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.3334, allocations: 39.44 kB / 345.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3334, allocations: 0 / 345.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of Templates: time 0.01036/0.3437, allocations: 5.211 MB / 350.4 MB, free: 9.594 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)