Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 182.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.111/1.111, allocations: 194.5 MB / 211.6 MB, free: 3.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001567/0.001567, allocations: 113.8 kB / 256.9 MB, free: 4.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 310.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.08023, allocations: 44.5 MB / 355 MB, free: 2.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.311, allocations: 72.08 MB / 427.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3113, allocations: 70.84 kB / 427.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.3349, allocations: 11.44 MB / 438.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3349, allocations: 0 / 438.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.209e-05/0.3349, allocations: 20 kB / 438.7 MB, free: 7.695 MB / 314.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.001456/0.3364, allocations: 0.9106 MB / 439.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3365, allocations: 12.03 kB / 439.6 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3367, allocations: 88 kB / 439.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.3373, allocations: 432.1 kB / 440.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.3374, allocations: 87.92 kB / 440.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3375, allocations: 103.7 kB / 440.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3388, allocations: 0.9281 MB / 441.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3388, allocations: 3.938 kB / 441.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.3389, allocations: 40.19 kB / 441.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3389, allocations: 20 kB / 441.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.34, allocations: 0.7299 MB / 442 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.3428, allocations: 2.345 MB / 444.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.3436, allocations: 0.6617 MB / 445 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.3436, allocations: 16.98 kB / 445 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.3441, allocations: 441.6 kB / 445.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 3.356e-06/0.3441, allocations: 0 / 445.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001153/0.3453, allocations: 0.8357 MB / 446.3 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3454, allocations: 106 kB / 446.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3456, allocations: 299.3 kB / 446.7 MB, free: 408 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.3456, allocations: 69.69 kB / 446.7 MB, free: 332 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3458, allocations: 289.1 kB / 447 MB, free: 36 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.346, allocations: 237.1 kB / 447.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.346, allocations: 28 kB / 447.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3462, allocations: 366.8 kB / 447.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.3466, allocations: 262.6 kB / 447.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.3472, allocations: 479.7 kB / 448.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.3477, allocations: 282.2 kB / 448.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3477, allocations: 0 / 448.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001195/0.3489, allocations: 0.8595 MB / 449.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3489, allocations: 11.98 kB / 449.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3489, allocations: 4 kB / 449.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3489, allocations: 15.78 kB / 449.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.3493, allocations: 111.7 kB / 449.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.3493, allocations: 15.94 kB / 449.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3497, allocations: 76 kB / 449.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.3498, allocations: 51.98 kB / 449.8 MB, free: 13.18 MB / 330.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 () * Number of clocked 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.000345/0.3501, allocations: 295.5 kB / 450.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.3502, allocations: 47.44 kB / 450.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3513, allocations: 0.7526 MB / 450.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.3514, allocations: 15.95 kB / 450.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-05/0.3514, allocations: 0 / 450.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3514, allocations: 3.984 kB / 450.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.3539, allocations: 1.664 MB / 452.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3539, allocations: 0 / 452.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3542, allocations: 79.77 kB / 452.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3542, allocations: 4 kB / 452.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.3542, allocations: 19.98 kB / 452.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3542, allocations: 4 kB / 452.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3542, allocations: 3.953 kB / 452.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/0.3552, allocations: 0.7952 MB / 453.5 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.3553, allocations: 120.5 kB / 453.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.3554, allocations: 23 kB / 453.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3556, allocations: 47.92 kB / 453.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.3558, allocations: 108.8 kB / 453.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.3559, allocations: 31.98 kB / 453.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.356, allocations: 152.5 kB / 453.9 MB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.356, allocations: 3.938 kB / 453.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.3566, allocations: 179.8 kB / 454.1 MB, free: 8.738 MB / 330.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) * Number of clocked states: 0 () * 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.0002161/0.3568, allocations: 160.4 kB / 454.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3579, allocations: 0.7378 MB / 455 MB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.358, allocations: 0 / 455 MB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.3584, allocations: 385.5 kB / 455.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3588, allocations: 73.8 kB / 455.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.3609, allocations: 1.388 MB / 456.8 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.3615, allocations: 0.9588 MB / 457.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.3619, allocations: 106.3 kB / 457.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.3621, allocations: 71.41 kB / 458 MB, free: 4.812 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3621, allocations: 4 kB / 458 MB, free: 4.809 MB / 330.7 MB Notification: Performance of Templates: time 0.0128/0.3749, allocations: 6.602 MB / 464.6 MB, free: 14.25 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1)