Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 104 kB / 17.47 MB, free: 4.859 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 193.9 kB / 20.63 MB, free: 1.715 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 207.6 MB / 231.2 MB, free: 3.434 MB / 174.1 MB [Timeout remaining time 89] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 52.39 kB / 342.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534/1.536, allocations: 49.13 MB / 392.1 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.006869/1.542, allocations: 1.666 MB / 393.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/1.545, allocations: 259.3 kB / 394 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/1.546, allocations: 11.88 kB / 394 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/1.546, allocations: 23.67 kB / 394 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/1.547, allocations: 23.78 kB / 394 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/1.548, allocations: 115.8 kB / 394.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/1.549, allocations: 263.5 kB / 394.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01718/1.567, allocations: 166.9 kB / 394.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/1.567, allocations: 95.69 kB / 394.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.567, allocations: 95.55 kB / 394.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/1.567, allocations: 20 kB / 394.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/1.567, allocations: 31.94 kB / 394.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/1.567, allocations: 63.81 kB / 394.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.57, allocations: 107.5 kB / 395 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007755/1.577, allocations: 258.9 kB / 395.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005491/1.578, allocations: 0 / 395.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000272/1.578, allocations: 0 / 395.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005046/1.579, allocations: 0 / 395.2 MB, free: 4.281 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.03438/1.613, allocations: 493.8 kB / 395.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.613, allocations: 8.031 kB / 395.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/1.613, allocations: 28.78 kB / 395.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/1.616, allocations: 240 kB / 396 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.616, allocations: 24.92 kB / 396 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.616, allocations: 24.38 kB / 396 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/1.617, allocations: 266.6 kB / 396.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/1.617, allocations: 8.062 kB / 396.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.617, allocations: 15.94 kB / 396.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.617, allocations: 8 kB / 396.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/1.617, allocations: 169.6 kB / 396.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/1.619, allocations: 0.9635 MB / 397.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/1.619, allocations: 150.7 kB / 397.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.619, allocations: 64.78 kB / 397.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/1.619, allocations: 0 / 397.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006397/1.62, allocations: 127 kB / 397.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/1.62, allocations: 4 kB / 397.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.04264/1.663, allocations: 209.4 kB / 398 MB, free: 1.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.663, allocations: 59.34 kB / 398.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/1.663, allocations: 157.9 kB / 398.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.663, allocations: 33.7 kB / 398.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.663, allocations: 148.7 kB / 398.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/1.663, allocations: 63.52 kB / 398.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003875/1.667, allocations: 78.02 kB / 398.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/1.667, allocations: 334.8 kB / 398.9 MB, free: 412 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.667, allocations: 60.62 kB / 398.9 MB, free: 352 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.667, allocations: 141.8 kB / 399.1 MB, free: 180 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/1.668, allocations: 184.5 kB / 399.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.668, allocations: 4 kB / 399.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000377/1.668, allocations: 249.2 kB / 399.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.668, allocations: 11.98 kB / 399.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.668, allocations: 4 kB / 399.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/1.668, allocations: 4 kB / 399.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.668, allocations: 31.92 kB / 399.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.668, allocations: 4.281 kB / 399.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/1.668, allocations: 27.84 kB / 399.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/1.668, allocations: 19.92 kB / 399.6 MB, free: 15.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.localCondition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001461/1.669, allocations: 160.2 kB / 399.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/1.669, allocations: 15.91 kB / 399.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/1.669, allocations: 194.7 kB / 399.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.669, allocations: 4 kB / 399.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.669, allocations: 0 / 399.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.669, allocations: 4 kB / 400 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/1.67, allocations: 0.5831 MB / 400.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.67, allocations: 4 kB / 400.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/1.67, allocations: 15.92 kB / 400.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.67, allocations: 7.938 kB / 400.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.67, allocations: 8 kB / 400.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.67, allocations: 0 / 400.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.67, allocations: 0 / 400.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/1.67, allocations: 283.7 kB / 400.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/1.67, allocations: 92.95 kB / 400.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/1.67, allocations: 11.94 kB / 401 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/1.67, allocations: 11.98 kB / 401 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.67, allocations: 11.98 kB / 401 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/1.67, allocations: 11.98 kB / 401 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.971e-05/1.671, allocations: 95.27 kB / 401.1 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/1.671, allocations: 0 / 401.1 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/1.671, allocations: 55.89 kB / 401.1 MB, free: 13.94 MB / 334.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: 19 (step.localActive,step.active,transition1.enableFire,initialStep.active,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.localCondition,transition2.enableFire,timer.entryTime,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001217/1.672, allocations: 119.3 kB / 401.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007707/1.673, allocations: 171.7 kB / 401.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.673, allocations: 0 / 401.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/1.673, allocations: 71.86 kB / 401.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/1.674, allocations: 24.45 kB / 401.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.675, allocations: 351.3 kB / 401.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/1.675, allocations: 0.7285 MB / 402.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.483e-05/1.675, allocations: 25.94 kB / 402.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/1.676, allocations: 23.44 kB / 402.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/1.676, allocations: 0 / 402.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Templates: time 0.01929/1.695, allocations: 1.937 MB / 404.6 MB, free: 10.45 MB / 334.1 MB [Timeout remaining time 658] make -j1 -f Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] [Calling os._exit(0)]