Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.001299, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.00134/0.00134, allocations: 195 kB / 17.99 MB, free: 5.109 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.474/1.474, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.00123/0.00123, allocations: 52.41 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09282, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005152/0.09801, allocations: 3.485 MB / 378 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.09999, allocations: 0.9975 MB / 379 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.1004, allocations: 4 kB / 379 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1985/0.2989, allocations: 98.17 kB / 379.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2999, allocations: 184.4 kB / 379.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3003, allocations: 125.5 kB / 379.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.301, allocations: 0.6363 MB / 380 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.3014, allocations: 195.2 kB / 380.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.3016, allocations: 245.2 kB / 380.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.302, allocations: 274.2 kB / 380.7 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.931e-05/0.3021, allocations: 52.25 kB / 380.7 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.3022, allocations: 54.44 kB / 380.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3023, allocations: 118.7 kB / 380.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.3026, allocations: 287.6 kB / 381.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007856/0.3034, allocations: 0.6458 MB / 381.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3034, allocations: 1.188 kB / 381.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3034, allocations: 4.5 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3034, allocations: 0 / 381.8 MB, free: 9.383 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001286/0.3047, allocations: 0.8368 MB / 382.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3048, allocations: 9.188 kB / 382.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.3049, allocations: 62.98 kB / 382.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.3055, allocations: 406.8 kB / 383.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.3056, allocations: 58.53 kB / 383.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.3056, allocations: 32.69 kB / 383.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.3064, allocations: 465.8 kB / 383.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3064, allocations: 0 / 383.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.3065, allocations: 12.31 kB / 383.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3065, allocations: 8.406 kB / 383.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.307, allocations: 282.9 kB / 384 MB, free: 8.293 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.001943/0.309, allocations: 1.284 MB / 385.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3101, allocations: 432.6 kB / 385.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3104, allocations: 148.8 kB / 385.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.3104, allocations: 9.891 kB / 385.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3105, allocations: 44.02 kB / 385.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.674e-06/0.3105, allocations: 1.188 kB / 385.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00108/0.3116, allocations: 0.6019 MB / 386.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.3117, allocations: 443.6 kB / 386.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.3122, allocations: 461.3 kB / 387.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3122, allocations: 33.2 kB / 387.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3124, allocations: 230.3 kB / 387.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3124, allocations: 111.5 kB / 387.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3126, allocations: 76.62 kB / 387.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.3127, allocations: 354.4 kB / 388.2 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.3129, allocations: 113.6 kB / 388.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3132, allocations: 251.3 kB / 388.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.3137, allocations: 274.8 kB / 388.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3137, allocations: 4.812 kB / 388.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006872/0.3144, allocations: 415.1 kB / 389.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.3144, allocations: 36.06 kB / 389.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3144, allocations: 1.094 kB / 389.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3146, allocations: 54.72 kB / 389.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.3149, allocations: 73.06 kB / 389.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.3169, allocations: 2.961 MB / 392.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.3173, allocations: 47.45 kB / 392.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.3174, allocations: 8.594 kB / 392.4 MB, free: 1.707 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 (36): * Single equations (assignments): 33 * 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.0002188/0.3176, allocations: 171.6 kB / 392.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.3177, allocations: 49.94 kB / 392.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3178, allocations: 51.03 kB / 392.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3178, allocations: 3.781 kB / 392.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3178, allocations: 5.016 kB / 392.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006667/0.3185, allocations: 0.6517 MB / 393.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.32, allocations: 0.8984 MB / 394.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.32, allocations: 0.7031 kB / 394.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.3203, allocations: 70.94 kB / 394.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3204, allocations: 2.438 kB / 394.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3204, allocations: 5.938 kB / 394.3 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3204, allocations: 5.156 kB / 394.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3204, allocations: 5.062 kB / 394.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.3212, allocations: 0.5126 MB / 394.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.3214, allocations: 165.4 kB / 395 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3215, allocations: 8.5 kB / 395 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.3218, allocations: 20.19 kB / 395 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3219, allocations: 18.28 kB / 395 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3219, allocations: 11.36 kB / 395 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003877/0.3223, allocations: 317.5 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3223, allocations: 5.875 kB / 395.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.3228, allocations: 130.5 kB / 395.5 MB, free: 15.67 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 (32): * Single equations (assignments): 32 * 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.0001409/0.3229, allocations: 105.4 kB / 395.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009642/0.3239, allocations: 0.5646 MB / 396.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3239, allocations: 0.9375 kB / 396.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.3242, allocations: 136 kB / 396.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.3249, allocations: 127.4 kB / 396.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3265, allocations: 0.8728 MB / 397.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3269, allocations: 0.8231 MB / 398.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.3272, allocations: 59.3 kB / 398.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3273, allocations: 44.03 kB / 398.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3273, allocations: 3.938 kB / 398.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Templates: time 0.01785/0.3452, allocations: 8.423 MB / 406.6 MB, free: 10.92 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)