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") [: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.1+maint.om/package.mo): time 0.003861/0.00386, allocations: 172.3 kB / 7.446 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.4/1.4, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001804/0.001804, allocations: 120.4 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.372e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08094, allocations: 38.76 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/0.3474, allocations: 65.94 MB / 366.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.3477, allocations: 66.66 kB / 366.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.02708/0.3748, allocations: 10.79 MB / 377.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.755e-05/0.3749, allocations: 23.94 kB / 377.3 MB, free: 9.355 MB / 266.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.001395/0.3763, allocations: 0.8905 MB / 378.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3763, allocations: 8.031 kB / 378.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3766, allocations: 94.97 kB / 378.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.3772, allocations: 435.8 kB / 378.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.3773, allocations: 43.92 kB / 378.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3774, allocations: 60 kB / 378.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/0.3785, allocations: 0.6567 MB / 379.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3798, allocations: 0.7936 MB / 380.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3798, allocations: 0 / 380.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.3799, allocations: 3.984 kB / 380.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.3799, allocations: 24 kB / 380.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.3828, allocations: 2.155 MB / 382.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/0.3836, allocations: 0.5437 MB / 383 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.384, allocations: 297.8 kB / 383.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.3841, allocations: 16.77 kB / 383.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.3846, allocations: 389.5 kB / 383.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.345e-06/0.3847, allocations: 0 / 383.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009387/0.3856, allocations: 0.5047 MB / 384.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.3857, allocations: 101.8 kB / 384.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.3859, allocations: 277.1 kB / 384.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/0.386, allocations: 49.5 kB / 384.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3863, allocations: 271.6 kB / 384.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3865, allocations: 238.9 kB / 385.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3865, allocations: 0 / 385.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3867, allocations: 370.1 kB / 385.5 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3871, allocations: 227.2 kB / 385.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.3877, allocations: 439.8 kB / 386.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.3881, allocations: 243.6 kB / 386.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3882, allocations: 4 kB / 386.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001201/0.3894, allocations: 0.7456 MB / 387.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3894, allocations: 4 kB / 387.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3894, allocations: 4 kB / 387.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3894, allocations: 12.75 kB / 387.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.3899, allocations: 111.6 kB / 387.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.3899, allocations: 27.92 kB / 387.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.3902, allocations: 47.64 kB / 387.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.3903, allocations: 58.11 kB / 387.4 MB, free: 1.035 MB / 266.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.0001979/0.3905, allocations: 180.7 kB / 387.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.3906, allocations: 43.44 kB / 387.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.3918, allocations: 0.6374 MB / 388.2 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3919, allocations: 12 kB / 388.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3919, allocations: 0 / 388.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3919, allocations: 7.969 kB / 388.3 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.3943, allocations: 1.43 MB / 389.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3943, allocations: 0 / 389.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3946, allocations: 71.08 kB / 389.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.3946, allocations: 8 kB / 389.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.3947, allocations: 11.11 kB / 389.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3947, allocations: 7.906 kB / 389.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3947, allocations: 3.938 kB / 389.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/0.3957, allocations: 0.6821 MB / 390.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.3958, allocations: 120.5 kB / 390.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.3959, allocations: 15.73 kB / 390.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3962, allocations: 27.97 kB / 390.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.3964, allocations: 101.3 kB / 390.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.3965, allocations: 34.73 kB / 390.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.000152/0.3966, allocations: 141.8 kB / 390.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.3972, allocations: 127.5 kB / 391 MB, free: 13.93 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.0002802/0.3975, allocations: 137.6 kB / 391.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3985, allocations: 0.6749 MB / 391.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3985, allocations: 0 / 391.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.399, allocations: 362.4 kB / 392.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3994, allocations: 60.39 kB / 392.2 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4013, allocations: 0.8715 MB / 393.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/0.4022, allocations: 1.034 MB / 394.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4022, allocations: 0 / 394.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of Templates: time 0.01493/0.4171, allocations: 7.631 MB / 401.8 MB, free: 3.539 MB / 282.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)