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.006106/0.006106, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.479/1.479, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001735/0.001734, allocations: 110.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 38.76 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3827, allocations: 66.77 MB / 379.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/0.3832, allocations: 63.97 kB / 379.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03266/0.4159, allocations: 11.45 MB / 391.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.416, allocations: 0 / 391.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.981e-05/0.416, allocations: 23.94 kB / 391.2 MB, free: 12.14 MB / 298.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.002417/0.4185, allocations: 0.9125 MB / 392.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4185, allocations: 8.031 kB / 392.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.419, allocations: 90.97 kB / 392.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.42, allocations: 434.4 kB / 392.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.4201, allocations: 89.98 kB / 392.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.4204, allocations: 104 kB / 392.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4227, allocations: 0.9259 MB / 393.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.4228, allocations: 3.938 kB / 393.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4229, allocations: 39.98 kB / 393.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.423, allocations: 24 kB / 393.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.4247, allocations: 0.7261 MB / 394.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.4292, allocations: 2.341 MB / 396.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4304, allocations: 0.6609 MB / 397.5 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.491e-05/0.4305, allocations: 18.31 kB / 397.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.4312, allocations: 433.7 kB / 398 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 5.41e-06/0.4312, allocations: 3.938 kB / 398 MB, free: 5.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001701/0.4329, allocations: 0.8357 MB / 398.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.433, allocations: 94.09 kB / 398.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.4335, allocations: 299.2 kB / 399.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4336, allocations: 73.69 kB / 399.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.4339, allocations: 293.1 kB / 399.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.4342, allocations: 237 kB / 399.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.4342, allocations: 28.12 kB / 399.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4344, allocations: 374.7 kB / 400.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.4349, allocations: 262.5 kB / 400.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.4356, allocations: 483.9 kB / 400.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.4361, allocations: 274.4 kB / 401.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4361, allocations: 0 / 401.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001554/0.4377, allocations: 0.863 MB / 402 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4377, allocations: 8 kB / 402 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4378, allocations: 4 kB / 402 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.4378, allocations: 12.72 kB / 402.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.4382, allocations: 115.6 kB / 402.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.4383, allocations: 19.98 kB / 402.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.4387, allocations: 67.67 kB / 402.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.4389, allocations: 51.98 kB / 402.3 MB, free: 0.6289 MB / 298.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.0005519/0.4394, allocations: 307.4 kB / 402.6 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4395, allocations: 51.44 kB / 402.7 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4409, allocations: 0.7417 MB / 403.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4409, allocations: 8 kB / 403.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.4409, allocations: 8 kB / 403.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4409, allocations: 15.91 kB / 403.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.4437, allocations: 1.66 MB / 405.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4437, allocations: 0 / 405.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.444, allocations: 71.83 kB / 405.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.444, allocations: 7.938 kB / 405.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.4441, allocations: 27.98 kB / 405.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4441, allocations: 4 kB / 405.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4441, allocations: 0 / 405.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4453, allocations: 0.795 MB / 406 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4454, allocations: 120.5 kB / 406.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.4455, allocations: 27.98 kB / 406.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4457, allocations: 43.97 kB / 406.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.4459, allocations: 100.8 kB / 406.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.446, allocations: 31.98 kB / 406.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4462, allocations: 152.5 kB / 406.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4462, allocations: 0 / 406.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006972/0.4469, allocations: 167.9 kB / 406.6 MB, free: 12.19 MB / 314.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.0002958/0.4472, allocations: 180.9 kB / 406.8 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4485, allocations: 0.7457 MB / 407.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4485, allocations: 0 / 407.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.4491, allocations: 377.6 kB / 407.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.4495, allocations: 72.22 kB / 408 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4519, allocations: 1.4 MB / 409.4 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.4526, allocations: 0.951 MB / 410.3 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.453, allocations: 117.8 kB / 410.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4532, allocations: 67.42 kB / 410.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4532, allocations: 0 / 410.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of Templates: time 0.01573/0.469, allocations: 6.604 MB / 417.1 MB, free: 1.652 MB / 314.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)