Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009802/0.0009803, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2512/0.2512, allocations: 13.56 MB / 304.5 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.000422, allocations: 8 kB / 368.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 53.71 MB / 422.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.2494/0.389, allocations: 1.367 MB / 423.8 MB, free: 42.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3902, allocations: 0.7355 MB / 424.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3903, allocations: 6.906 kB / 424.6 MB, free: 42.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.3905, allocations: 34.2 kB / 424.6 MB, free: 42.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.3906, allocations: 22.73 kB / 424.6 MB, free: 42.05 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.391, allocations: 159.7 kB / 424.8 MB, free: 42.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.3913, allocations: 207.3 kB / 425 MB, free: 42.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.3919, allocations: 0.52 MB / 425.5 MB, free: 41.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.392, allocations: 90.52 kB / 425.6 MB, free: 41.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.3921, allocations: 89.28 kB / 425.7 MB, free: 41.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3921, allocations: 12.12 kB / 425.7 MB, free: 41.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.3922, allocations: 22.11 kB / 425.7 MB, free: 41.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3923, allocations: 54.53 kB / 425.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.3924, allocations: 63.39 kB / 425.8 MB, free: 41.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3925, allocations: 189 kB / 426 MB, free: 41.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3925, allocations: 0 / 426 MB, free: 41.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3926, allocations: 0 / 426 MB, free: 41.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3926, allocations: 0 / 426 MB, free: 41.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000512/0.3931, allocations: 493 kB / 426.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3931, allocations: 12.31 kB / 426.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.3932, allocations: 29.84 kB / 426.5 MB, free: 41.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3935, allocations: 272.3 kB / 426.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.3935, allocations: 25.75 kB / 426.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.3935, allocations: 26.12 kB / 426.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.394, allocations: 329.3 kB / 427.2 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.394, allocations: 4.656 kB / 427.2 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.394, allocations: 10.25 kB / 427.2 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3941, allocations: 8.656 kB / 427.2 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3944, allocations: 205.6 kB / 427.4 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3955, allocations: 1.607 MB / 429 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3958, allocations: 278.7 kB / 429.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.3958, allocations: 82.73 kB / 429.4 MB, free: 39.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3959, allocations: 34.56 kB / 429.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.3959, allocations: 0 / 429.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002673/0.3961, allocations: 157.1 kB / 429.5 MB, free: 39.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3962, allocations: 62.44 kB / 429.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3964, allocations: 215.5 kB / 429.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3964, allocations: 31.11 kB / 429.9 MB, free: 39.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.3965, allocations: 169.4 kB / 430 MB, free: 39.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3965, allocations: 35.27 kB / 430.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.3965, allocations: 3.312 kB / 430.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.3966, allocations: 341.9 kB / 430.4 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3966, allocations: 51 kB / 430.4 MB, free: 38.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.3967, allocations: 142.2 kB / 430.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.3968, allocations: 70.17 kB / 430.6 MB, free: 38.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3968, allocations: 0 / 430.6 MB, free: 38.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002768/0.3971, allocations: 238.1 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3972, allocations: 5.75 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3972, allocations: 3.219 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3972, allocations: 11.47 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.3973, allocations: 18.34 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3973, allocations: 5.906 kB / 430.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3974, allocations: 22.5 kB / 430.9 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3974, allocations: 14.12 kB / 431 MB, free: 38.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.step1.oldActive,step1.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,step1.connectorNode.node.suspend,step1.connectorNode.node.resume,step1.active,$PRE.step1.newActive,step1.newActive,step1.outport_fire,T1.condition,T1.enableFire,step2.active,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.condition,T2.enableFire,step3.active,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step1.inport_fire,step3.outport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001569/0.3976, allocations: 175.7 kB / 431.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3976, allocations: 20.56 kB / 431.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.3978, allocations: 144.6 kB / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3978, allocations: 3.562 kB / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3978, allocations: 0 / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3978, allocations: 0 / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.3983, allocations: 0.5051 MB / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3983, allocations: 0 / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.3983, allocations: 6.219 kB / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3983, allocations: 3.422 kB / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3983, allocations: 10.31 kB / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3983, allocations: 0 / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3984, allocations: 0.625 kB / 431.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3985, allocations: 233.7 kB / 432 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.3986, allocations: 101.6 kB / 432.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3986, allocations: 10.06 kB / 432.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.3987, allocations: 3.25 kB / 432.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.3987, allocations: 18.64 kB / 432.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.3987, allocations: 6.969 kB / 432.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.3988, allocations: 129.4 kB / 432.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3988, allocations: 0 / 432.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3991, allocations: 63.69 kB / 432.4 MB, free: 37.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (step1.outport_fire,step2.outport_fire,step1.active,step1.newActive,step1.oldActive,T1.condition,T1.enableFire,step2.active,step2.newActive,step2.oldActive,step2.inport_fire,T2.condition,T2.enableFire,step3.active,step3.newActive,step3.oldActive,step3.inport_fire) * Number of discrete states: 3 (step3.newActive,step2.newActive,step1.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001252/0.3992, allocations: 105.1 kB / 432.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3994, allocations: 151.2 kB / 432.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3994, allocations: 0 / 432.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.3995, allocations: 53.72 kB / 432.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.3997, allocations: 12.83 kB / 432.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4002, allocations: 436.4 kB / 433.1 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4004, allocations: 0.7628 MB / 433.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.775e-05/0.4005, allocations: 39.33 kB / 433.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.4006, allocations: 21.95 kB / 433.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4006, allocations: 0 / 433.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of Templates: time 0.003598/0.4042, allocations: 1.362 MB / 435.3 MB, free: 36.43 MB / 350.1 MB make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.makefile Environment - environmentSimulation: (rm -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe ; mkfifo Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe ; head -c 1048576 < Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe >> ../files/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.sim & ./Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe 2>&1) Environment - environmentSimulation: