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.001017/0.001017, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.087/1.087, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.00154/0.001541, allocations: 107.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.371e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06346/0.06348, allocations: 38.78 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.3038, allocations: 66.01 MB / 367 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.3042, allocations: 63.47 kB / 367 MB, free: 2.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02641/0.3306, allocations: 11.14 MB / 378.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3306, allocations: 0 / 378.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.3307, allocations: 20 kB / 378.2 MB, free: 8.848 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.001315/0.332, allocations: 0.8802 MB / 379.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3321, allocations: 8.031 kB / 379.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.3322, allocations: 98.72 kB / 379.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.3328, allocations: 432.9 kB / 379.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.3329, allocations: 39.75 kB / 379.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.333, allocations: 67.98 kB / 379.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/0.3341, allocations: 0.6524 MB / 380.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.3353, allocations: 0.7797 MB / 381.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3353, allocations: 0 / 381.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.3354, allocations: 3.812 kB / 381.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.3354, allocations: 28 kB / 381.2 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.3382, allocations: 2.179 MB / 383.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.339, allocations: 0.5962 MB / 384 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.3394, allocations: 304.1 kB / 384.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.3395, allocations: 15.97 kB / 384.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.34, allocations: 391.4 kB / 384.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.194e-06/0.34, allocations: 0 / 384.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009362/0.341, allocations: 0.5421 MB / 385.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.3411, allocations: 105.2 kB / 385.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3413, allocations: 281.9 kB / 385.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.3414, allocations: 48.75 kB / 385.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.3416, allocations: 297.2 kB / 385.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.3418, allocations: 238.8 kB / 386.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.3418, allocations: 0 / 386.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.342, allocations: 371 kB / 386.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.3424, allocations: 226.2 kB / 386.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.3429, allocations: 442.5 kB / 387.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.3434, allocations: 246.8 kB / 387.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3434, allocations: 0 / 387.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001103/0.3445, allocations: 0.7425 MB / 388.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3445, allocations: 8 kB / 388.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3445, allocations: 4.75 kB / 388.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.3446, allocations: 12 kB / 388.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.345, allocations: 119.2 kB / 388.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.345, allocations: 19.92 kB / 388.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3453, allocations: 39.73 kB / 388.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.3454, allocations: 51.67 kB / 388.4 MB, free: 496 kB / 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.0002063/0.3457, allocations: 186.1 kB / 388.6 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.3457, allocations: 47.44 kB / 388.6 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3469, allocations: 0.6747 MB / 389.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.3469, allocations: 12 kB / 389.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3469, allocations: 4 kB / 389.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.347, allocations: 3.984 kB / 389.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3491, allocations: 1.469 MB / 390.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.3492, allocations: 4 kB / 390.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.3494, allocations: 67.7 kB / 390.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.3495, allocations: 8 kB / 390.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.3495, allocations: 11.67 kB / 390.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3495, allocations: 4 kB / 390.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3495, allocations: 3.938 kB / 390.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.3505, allocations: 0.7321 MB / 391.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.3506, allocations: 132.3 kB / 391.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.3507, allocations: 11.31 kB / 391.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3509, allocations: 27.97 kB / 391.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3511, allocations: 98.91 kB / 391.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.3511, allocations: 35.67 kB / 391.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3513, allocations: 141.5 kB / 392 MB, free: 13.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3513, allocations: 0 / 392 MB, free: 13.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005532/0.3518, allocations: 135.9 kB / 392.2 MB, free: 13.26 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.0002314/0.3521, allocations: 148.4 kB / 392.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000929/0.353, allocations: 0.6602 MB / 393 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.353, allocations: 4.188 kB / 393 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.3535, allocations: 353 kB / 393.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3539, allocations: 59.78 kB / 393.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3555, allocations: 0.8546 MB / 394.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.3562, allocations: 0.9577 MB / 395.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.3566, allocations: 113.9 kB / 395.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3568, allocations: 66.98 kB / 395.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.3568, allocations: 0 / 395.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of Templates: time 0.01233/0.3691, allocations: 6.453 MB / 401.8 MB, free: 3.988 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)