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.0009744/0.0009742, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008926/0.008926, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2352/0.2352, allocations: 13.57 MB / 305 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 15.98 kB / 369.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 53.7 MB / 423.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.2148/0.3372, allocations: 1.402 MB / 424.6 MB, free: 41.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3385, allocations: 0.7574 MB / 425.3 MB, free: 41.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3387, allocations: 9.844 kB / 425.3 MB, free: 41.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.3389, allocations: 46.47 kB / 425.4 MB, free: 41.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.3389, allocations: 16.66 kB / 425.4 MB, free: 41.75 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.0006025/0.3395, allocations: 182.6 kB / 425.6 MB, free: 41.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.3399, allocations: 312.8 kB / 425.9 MB, free: 41.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007253/0.3407, allocations: 0.5595 MB / 426.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3408, allocations: 99.56 kB / 426.6 MB, free: 41.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3409, allocations: 89.34 kB / 426.6 MB, free: 41.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3409, allocations: 15.78 kB / 426.7 MB, free: 41.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.3411, allocations: 28.83 kB / 426.7 MB, free: 41.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.3411, allocations: 48.39 kB / 426.7 MB, free: 41.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.3412, allocations: 125.7 kB / 426.9 MB, free: 41.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3415, allocations: 256.7 kB / 427.1 MB, free: 41.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3415, allocations: 0 / 427.1 MB, free: 41.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3415, allocations: 0.5625 kB / 427.1 MB, free: 41.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3415, allocations: 0 / 427.1 MB, free: 41.32 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.0004865/0.342, allocations: 497 kB / 427.6 MB, free: 40.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3421, allocations: 8.375 kB / 427.6 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.3421, allocations: 34.91 kB / 427.6 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3424, allocations: 281.6 kB / 427.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.3424, allocations: 23.09 kB / 427.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.3425, allocations: 25.53 kB / 428 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.343, allocations: 339.1 kB / 428.3 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.343, allocations: 2.906 kB / 428.3 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.343, allocations: 14.36 kB / 428.3 MB, free: 40.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.343, allocations: 5.562 kB / 428.3 MB, free: 40.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3434, allocations: 204.3 kB / 428.5 MB, free: 40.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3446, allocations: 1.604 MB / 430.1 MB, free: 39.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3448, allocations: 281.5 kB / 430.4 MB, free: 39.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.3449, allocations: 50.11 kB / 430.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.345, allocations: 81.31 kB / 430.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.345, allocations: 38.66 kB / 430.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.345, allocations: 0 / 430.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002858/0.3453, allocations: 160.6 kB / 430.7 MB, free: 38.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3453, allocations: 57.72 kB / 430.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3455, allocations: 208.5 kB / 431 MB, free: 38.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3455, allocations: 36.28 kB / 431 MB, free: 38.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.3456, allocations: 167.8 kB / 431.2 MB, free: 38.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3456, allocations: 43.62 kB / 431.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3457, allocations: 61.03 kB / 431.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.3458, allocations: 329.4 kB / 431.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.3458, allocations: 48.52 kB / 431.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3459, allocations: 149.6 kB / 431.8 MB, free: 38.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3461, allocations: 194.6 kB / 432 MB, free: 38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3461, allocations: 0 / 432 MB, free: 38 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002789/0.3464, allocations: 241.7 kB / 432.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3464, allocations: 6.25 kB / 432.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3465, allocations: 2.969 kB / 432.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3465, allocations: 9.906 kB / 432.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.3466, allocations: 17.05 kB / 432.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3466, allocations: 6.156 kB / 432.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.797e-05/0.3467, allocations: 25.5 kB / 432.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3467, allocations: 21.72 kB / 432.3 MB, free: 37.91 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,step1.oldActive,$PRE.step1.oldActive,step2.oldActive,$PRE.step2.oldActive,step3.oldActive,$PRE.step3.oldActive,step1.connectorNode.node.suspend,step1.connectorNode.node.resume,step3.outport_fire,step1.inport_fire,step3.inport_fire,step3.newActive,$PRE.step3.newActive,step3.active,T2.enableFire,T2.condition,step2.outport_fire,step2.inport_fire,step2.newActive,$PRE.step2.newActive,step2.active,T1.enableFire,T1.condition,step1.outport_fire,step1.newActive,$PRE.step1.newActive,step1.active,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.3469, allocations: 168 kB / 432.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3469, allocations: 16.59 kB / 432.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.3471, allocations: 148.5 kB / 432.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3471, allocations: 7.938 kB / 432.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3471, allocations: 0 / 432.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3471, allocations: 4.734 kB / 432.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3476, allocations: 0.5011 MB / 433.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3476, allocations: 3.281 kB / 433.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.3476, allocations: 3.031 kB / 433.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3476, allocations: 0 / 433.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3476, allocations: 7.531 kB / 433.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3476, allocations: 0.5469 kB / 433.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3476, allocations: 3.938 kB / 433.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3478, allocations: 239.5 kB / 433.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.3479, allocations: 101.5 kB / 433.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3479, allocations: 3.125 kB / 433.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.348, allocations: 10.25 kB / 433.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.348, allocations: 12.83 kB / 433.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.348, allocations: 6.906 kB / 433.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.465e-05/0.3481, allocations: 126 kB / 433.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3481, allocations: 6.875 kB / 433.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3484, allocations: 56.88 kB / 433.7 MB, free: 37.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.3486, allocations: 116.1 kB / 433.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3488, allocations: 134.9 kB / 433.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3488, allocations: 4.125 kB / 434 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.3489, allocations: 52.31 kB / 434 MB, free: 36.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3491, allocations: 22.84 kB / 434 MB, free: 36.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.3498, allocations: 486.1 kB / 434.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.35, allocations: 0.7514 MB / 435.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3501, allocations: 40.55 kB / 435.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3502, allocations: 19.84 kB / 435.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3502, allocations: 0 / 435.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of Templates: time 0.004501/0.3547, allocations: 1.403 MB / 436.7 MB, free: 35.84 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: