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.001858/0.001858, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.728/1.728, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001671/0.001671, allocations: 121.2 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.914e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 44.51 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4459, allocations: 71.31 MB / 413.9 MB, free: 24.54 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.4462, allocations: 65.31 kB / 413.9 MB, free: 24.51 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02372/0.4699, allocations: 11.13 MB / 425.1 MB, free: 15.16 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4699, allocations: 0 / 425.1 MB, free: 15.16 MB / 315.1 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.47, allocations: 27.94 kB / 425.1 MB, free: 15.14 MB / 315.1 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.001127/0.4711, allocations: 0.8834 MB / 426 MB, free: 14.24 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4712, allocations: 12.03 kB / 426 MB, free: 14.23 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.4713, allocations: 88.69 kB / 426.1 MB, free: 14.14 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.4718, allocations: 430.2 kB / 426.5 MB, free: 13.75 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.4719, allocations: 42.52 kB / 426.5 MB, free: 13.71 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.472, allocations: 71.97 kB / 426.6 MB, free: 13.64 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009297/0.4729, allocations: 0.6525 MB / 427.3 MB, free: 13.22 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.474, allocations: 0.7787 MB / 428 MB, free: 12.62 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4741, allocations: 0 / 428 MB, free: 12.62 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.4741, allocations: 7.984 kB / 428.1 MB, free: 12.62 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4741, allocations: 23.94 kB / 428.1 MB, free: 12.59 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.4765, allocations: 2.182 MB / 430.3 MB, free: 10.82 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.4772, allocations: 0.6066 MB / 430.9 MB, free: 10.42 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4775, allocations: 295.5 kB / 431.2 MB, free: 10.23 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.4776, allocations: 11.05 kB / 431.2 MB, free: 10.23 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.4781, allocations: 405 kB / 431.6 MB, free: 9.914 MB / 315.1 MB Notification: Performance of pre-optimization done (n=99): time 2.044e-06/0.4781, allocations: 0 / 431.6 MB, free: 9.914 MB / 315.1 MB Notification: Performance of matching and sorting (n=99): time 0.0008225/0.479, allocations: 0.543 MB / 432.1 MB, free: 9.477 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.479, allocations: 97.19 kB / 432.2 MB, free: 9.367 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.4792, allocations: 278.5 kB / 432.5 MB, free: 9.148 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.4793, allocations: 55.81 kB / 432.5 MB, free: 9.098 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.4795, allocations: 287.4 kB / 432.8 MB, free: 8.855 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.4796, allocations: 235.3 kB / 433 MB, free: 8.66 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4796, allocations: 32 / 433 MB, free: 8.66 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.4797, allocations: 370.7 kB / 433.4 MB, free: 8.312 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.4801, allocations: 231.2 kB / 433.6 MB, free: 8.176 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.4805, allocations: 432 kB / 434 MB, free: 7.789 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.4809, allocations: 250.6 kB / 434.3 MB, free: 7.617 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4809, allocations: 4 kB / 434.3 MB, free: 7.613 MB / 315.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009254/0.4819, allocations: 0.7365 MB / 435 MB, free: 7.02 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4819, allocations: 4 kB / 435 MB, free: 7.016 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4819, allocations: 8 kB / 435 MB, free: 7.008 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.482, allocations: 15.94 kB / 435.1 MB, free: 6.992 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.4824, allocations: 119.4 kB / 435.2 MB, free: 6.887 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.4824, allocations: 17.19 kB / 435.2 MB, free: 6.871 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.4827, allocations: 47.72 kB / 435.2 MB, free: 6.824 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.4828, allocations: 43.69 kB / 435.3 MB, free: 6.789 MB / 315.1 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.0001643/0.4829, allocations: 191.9 kB / 435.5 MB, free: 6.602 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.483, allocations: 43.44 kB / 435.5 MB, free: 6.559 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.484, allocations: 0.6687 MB / 436.2 MB, free: 6.055 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4841, allocations: 12.75 kB / 436.2 MB, free: 6.043 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4841, allocations: 3.953 kB / 436.2 MB, free: 6.039 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4841, allocations: 11.97 kB / 436.2 MB, free: 6.027 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.4861, allocations: 1.468 MB / 437.7 MB, free: 4.824 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4861, allocations: 0 / 437.7 MB, free: 4.824 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.4864, allocations: 75.02 kB / 437.7 MB, free: 4.758 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.4864, allocations: 7.984 kB / 437.8 MB, free: 4.75 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.4864, allocations: 7.312 kB / 437.8 MB, free: 4.746 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4865, allocations: 15.92 kB / 437.8 MB, free: 4.73 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4865, allocations: 0 / 437.8 MB, free: 4.73 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.4874, allocations: 0.7313 MB / 438.5 MB, free: 4.109 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.4874, allocations: 124.4 kB / 438.6 MB, free: 3.969 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.4875, allocations: 7.812 kB / 438.6 MB, free: 3.965 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4877, allocations: 27.97 kB / 438.7 MB, free: 3.938 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4879, allocations: 106.6 kB / 438.8 MB, free: 3.844 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.4879, allocations: 34.92 kB / 438.8 MB, free: 3.816 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.488, allocations: 145.5 kB / 438.9 MB, free: 3.699 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4881, allocations: 3.938 kB / 438.9 MB, free: 3.695 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004754/0.4885, allocations: 123.9 kB / 439.1 MB, free: 3.574 MB / 315.1 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.0001902/0.4887, allocations: 149 kB / 439.2 MB, free: 3.43 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0007575/0.4895, allocations: 0.6684 MB / 439.9 MB, free: 2.945 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4895, allocations: 7.938 kB / 439.9 MB, free: 2.938 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.4899, allocations: 345.7 kB / 440.2 MB, free: 2.699 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.4903, allocations: 65.89 kB / 440.3 MB, free: 2.645 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4915, allocations: 0.8459 MB / 441.1 MB, free: 1.902 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4918, allocations: 0.9569 MB / 442.1 MB, free: 0.918 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.4921, allocations: 113.9 kB / 442.2 MB, free: 0.8047 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4923, allocations: 73.84 kB / 442.3 MB, free: 0.7422 MB / 315.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4923, allocations: 0 / 442.3 MB, free: 0.7422 MB / 315.1 MB Notification: Performance of Templates: time 0.01248/0.5048, allocations: 6.454 MB / 448.7 MB, free: 10.34 MB / 331.1 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)