Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001152/0.001152, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001639/0.001639, allocations: 99.47 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.941e-05, allocations: 7.984 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08696, allocations: 38.76 MB / 307.6 MB, free: 14.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3035/0.3905, allocations: 66.68 MB / 374.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.3908, allocations: 68.78 kB / 374.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.4205, allocations: 11.41 MB / 385.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4205, allocations: 0 / 385.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.4206, allocations: 27.94 kB / 385.8 MB, free: 15.7 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001342/0.4219, allocations: 0.8714 MB / 386.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.422, allocations: 12.03 kB / 386.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.4222, allocations: 86.97 kB / 386.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.4228, allocations: 433.9 kB / 387.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.4229, allocations: 93.73 kB / 387.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.423, allocations: 108.6 kB / 387.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.4245, allocations: 0.9071 MB / 388.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.4245, allocations: 0 / 388.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/0.4246, allocations: 37.55 kB / 388.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.4246, allocations: 24 kB / 388.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4258, allocations: 0.7083 MB / 389.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.4289, allocations: 2.36 MB / 391.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.4298, allocations: 0.6416 MB / 392.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.4303, allocations: 332.3 kB / 392.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.4304, allocations: 12.77 kB / 392.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.431, allocations: 420 kB / 392.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.585e-06/0.431, allocations: 0 / 392.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009981/0.432, allocations: 0.6012 MB / 393.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.4321, allocations: 101.2 kB / 393.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.4324, allocations: 298.9 kB / 393.8 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.4325, allocations: 70.19 kB / 393.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.4327, allocations: 290.4 kB / 394.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.4329, allocations: 250.2 kB / 394.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.433, allocations: 24.06 kB / 394.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4332, allocations: 366.2 kB / 394.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4336, allocations: 254 kB / 395 MB, free: 8.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.4342, allocations: 466.5 kB / 395.5 MB, free: 7.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.4346, allocations: 270.6 kB / 395.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4346, allocations: 4 kB / 395.8 MB, free: 7.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001237/0.4359, allocations: 0.8474 MB / 396.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4359, allocations: 8 kB / 396.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4359, allocations: 4 kB / 396.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.436, allocations: 12 kB / 396.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.4364, allocations: 124 kB / 396.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.4364, allocations: 15.94 kB / 396.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4368, allocations: 74.25 kB / 396.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.4369, allocations: 47.7 kB / 396.9 MB, free: 6.785 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.4371, allocations: 215.2 kB / 397.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.4372, allocations: 47.44 kB / 397.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4383, allocations: 0.7417 MB / 397.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4384, allocations: 8 kB / 397.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4384, allocations: 4 kB / 397.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4384, allocations: 7.969 kB / 397.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.4409, allocations: 1.648 MB / 399.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4409, allocations: 0 / 399.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4412, allocations: 67.08 kB / 399.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.4412, allocations: 4 kB / 399.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.4413, allocations: 25.17 kB / 399.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.4413, allocations: 4 kB / 399.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4413, allocations: 3.938 kB / 399.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4423, allocations: 0.7825 MB / 400.4 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4424, allocations: 124.4 kB / 400.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.4425, allocations: 26.48 kB / 400.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4427, allocations: 40.59 kB / 400.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4429, allocations: 104.6 kB / 400.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.443, allocations: 34.48 kB / 400.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4432, allocations: 150.8 kB / 400.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4432, allocations: 0 / 400.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.4438, allocations: 169.6 kB / 401.1 MB, free: 3.379 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.4441, allocations: 163.9 kB / 401.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4453, allocations: 0.7234 MB / 402 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4453, allocations: 0 / 402 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.4458, allocations: 372.5 kB / 402.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.4462, allocations: 76.2 kB / 402.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4479, allocations: 0.9103 MB / 403.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.4485, allocations: 0.9545 MB / 404.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.4489, allocations: 109.9 kB / 404.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.4491, allocations: 79.09 kB / 404.4 MB, free: 428 kB / 282.7 MB Notification: Performance of SimCode: time 1.432e-06/0.4492, allocations: 0 / 404.4 MB, free: 428 kB / 282.7 MB Notification: Performance of Templates: time 0.01544/0.4646, allocations: 6.605 MB / 411 MB, free: 9.828 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1)