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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001064/0.001064, allocations: 188.8 kB / 8.132 MB, free: 2.199 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.068/1.068, allocations: 194.2 MB / 202.8 MB, free: 8.766 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.001765/0.001765, allocations: 124.8 kB / 247.7 MB, free: 6.234 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 4 kB / 297.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06704/0.06706, allocations: 44.48 MB / 342 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.249, allocations: 71.25 MB / 413.3 MB, free: 23.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.2492, allocations: 66.66 kB / 413.4 MB, free: 23.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02576/0.2749, allocations: 10.79 MB / 424.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.275, allocations: 20 kB / 424.2 MB, free: 14.78 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.001041/0.276, allocations: 0.897 MB / 425.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2761, allocations: 8.031 kB / 425.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2762, allocations: 93.59 kB / 425.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.2767, allocations: 432.4 kB / 425.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.2768, allocations: 39.3 kB / 425.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2769, allocations: 64 kB / 425.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/0.2779, allocations: 0.6564 MB / 426.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2792, allocations: 0.798 MB / 427.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2792, allocations: 0 / 427.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.2793, allocations: 3.984 kB / 427.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2793, allocations: 24 kB / 427.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.2816, allocations: 2.153 MB / 429.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.2823, allocations: 0.5446 MB / 429.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.2827, allocations: 298.7 kB / 430.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.2827, allocations: 16.77 kB / 430.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.2832, allocations: 392.7 kB / 430.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 3.056e-06/0.2832, allocations: 0 / 430.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.0008117/0.2841, allocations: 0.5074 MB / 431.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2841, allocations: 97.25 kB / 431.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2843, allocations: 290.6 kB / 431.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.2844, allocations: 48.5 kB / 431.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2845, allocations: 268 kB / 431.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2847, allocations: 235 kB / 432 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2847, allocations: 0 / 432 MB, free: 8.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.2848, allocations: 368.5 kB / 432.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2851, allocations: 225.5 kB / 432.6 MB, free: 7.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.2856, allocations: 437.9 kB / 433 MB, free: 7.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.286, allocations: 251.1 kB / 433.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.286, allocations: 4 kB / 433.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001071/0.2871, allocations: 0.7301 MB / 434 MB, free: 6.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.2871, allocations: 5.5 kB / 434 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2871, allocations: 4 kB / 434 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2871, allocations: 16.66 kB / 434 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.2875, allocations: 118.6 kB / 434.1 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2876, allocations: 19.98 kB / 434.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2879, allocations: 39.73 kB / 434.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.288, allocations: 58.05 kB / 434.2 MB, free: 6.469 MB / 314.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.0001471/0.2881, allocations: 185.1 kB / 434.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.2882, allocations: 43.44 kB / 434.5 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2893, allocations: 0.6338 MB / 435.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2894, allocations: 12 kB / 435.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2894, allocations: 0 / 435.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2894, allocations: 7.969 kB / 435.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.2915, allocations: 1.429 MB / 436.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2915, allocations: 3.906 kB / 436.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.2918, allocations: 75.08 kB / 436.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.2918, allocations: 13.88 kB / 436.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.2919, allocations: 15.42 kB / 436.6 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2919, allocations: 4 kB / 436.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2919, allocations: 0 / 436.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009124/0.2928, allocations: 0.6811 MB / 437.3 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.2929, allocations: 124.4 kB / 437.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.2929, allocations: 19.42 kB / 437.5 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2932, allocations: 27.97 kB / 437.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.2934, allocations: 95.03 kB / 437.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.2935, allocations: 34.42 kB / 437.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.679e-05/0.2936, allocations: 144.4 kB / 437.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006507/0.2942, allocations: 120 kB / 437.9 MB, free: 3.375 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) * 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.0001658/0.2944, allocations: 148.5 kB / 438 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008438/0.2952, allocations: 0.6779 MB / 438.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2952, allocations: 0 / 438.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.2957, allocations: 359.6 kB / 439.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.296, allocations: 56.69 kB / 439.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.2974, allocations: 0.8585 MB / 440 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/0.2979, allocations: 1.03 MB / 441 MB, free: 0.625 MB / 314.7 MB Notification: Performance of SimCode: time 3.5e-07/0.298, allocations: 0 / 441 MB, free: 0.625 MB / 314.7 MB Notification: Performance of Templates: time 0.01371/0.3117, allocations: 7.635 MB / 448.6 MB, free: 9.047 MB / 330.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)