Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.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.02715/0.02715, allocations: 106.2 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.001249/0.001249, allocations: 195.7 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 2.122/2.122, allocations: 207.6 MB / 231.2 MB, free: 3.441 MB / 174.1 MB [Timeout remaining time 88] 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_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3") [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.002465/0.002465, allocations: 55.92 kB / 343 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3429, allocations: 49.11 MB / 392.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.004121/0.347, allocations: 1.694 MB / 393.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3485, allocations: 263.1 kB / 394 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.3487, allocations: 4 kB / 394 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.349, allocations: 27.67 kB / 394 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05453/0.4035, allocations: 19.8 kB / 394.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.4041, allocations: 115.8 kB / 394.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.4044, allocations: 267.5 kB / 394.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02466/0.4291, allocations: 157.5 kB / 394.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.4292, allocations: 87.7 kB / 394.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.4293, allocations: 99.53 kB / 394.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.4293, allocations: 24 kB / 394.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.4294, allocations: 32 kB / 394.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.4295, allocations: 67.75 kB / 394.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.4296, allocations: 99.47 kB / 395 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03203/0.4616, allocations: 247 kB / 395.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4616, allocations: 3.984 kB / 395.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4616, allocations: 3.938 kB / 395.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.4618, allocations: 0 / 395.2 MB, free: 4.43 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.05115/0.5129, allocations: 489.9 kB / 395.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.004186/0.5171, allocations: 12.03 kB / 395.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.5173, allocations: 24.8 kB / 395.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.5196, allocations: 240 kB / 396 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.5196, allocations: 20.94 kB / 396 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.5198, allocations: 24.38 kB / 396 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/0.527, allocations: 274.6 kB / 396.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.5272, allocations: 192 / 396.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.5272, allocations: 11.94 kB / 396.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.5273, allocations: 11.98 kB / 396.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.5276, allocations: 169.5 kB / 396.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00886/0.5364, allocations: 0.9558 MB / 397.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.5369, allocations: 154.7 kB / 397.6 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.537, allocations: 60.83 kB / 397.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.537, allocations: 4 kB / 397.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.5381, allocations: 119 kB / 397.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 6.032e-06/0.5381, allocations: 7.938 kB / 397.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001487/0.5396, allocations: 209.4 kB / 398 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002049/0.5417, allocations: 63.39 kB / 398.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.5433, allocations: 157.7 kB / 398.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004861/0.5438, allocations: 33.7 kB / 398.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5439, allocations: 144.7 kB / 398.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.5439, allocations: 59.58 kB / 398.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.544, allocations: 77.97 kB / 398.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.001026/0.5451, allocations: 338.8 kB / 398.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5452, allocations: 64.62 kB / 398.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.5454, allocations: 137.7 kB / 399 MB, free: 348 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5465, allocations: 184.4 kB / 399.2 MB, free: 132 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5465, allocations: 4 kB / 399.2 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003796/0.5469, allocations: 253.5 kB / 399.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5469, allocations: 4 kB / 399.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5469, allocations: 4 kB / 399.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.5475, allocations: 7.938 kB / 399.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.5484, allocations: 31.92 kB / 399.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5484, allocations: 8.266 kB / 399.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.91e-05/0.5485, allocations: 31.78 kB / 399.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.5486, allocations: 19.98 kB / 399.6 MB, free: 15.76 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.0005973/0.5492, allocations: 160.1 kB / 399.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.5492, allocations: 11.95 kB / 399.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.5495, allocations: 190.3 kB / 399.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5495, allocations: 4 kB / 399.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5495, allocations: 0 / 399.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5495, allocations: 4 kB / 399.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.5502, allocations: 0.5831 MB / 400.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5502, allocations: 8 kB / 400.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.5503, allocations: 11.98 kB / 400.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5503, allocations: 7.938 kB / 400.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.5503, allocations: 7.938 kB / 400.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5503, allocations: 0 / 400.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5503, allocations: 3.938 kB / 400.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.5511, allocations: 279.7 kB / 400.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.5511, allocations: 96.89 kB / 400.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5512, allocations: 8 kB / 400.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.5513, allocations: 7.984 kB / 400.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.5513, allocations: 19.98 kB / 401 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.5514, allocations: 7.984 kB / 401 MB, free: 14.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.5514, allocations: 95.27 kB / 401.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5514, allocations: 3.938 kB / 401.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007003/0.5521, allocations: 55.89 kB / 401.1 MB, free: 14.11 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,transition1.enableFire,step.active,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.000692/0.5528, allocations: 115.3 kB / 401.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009482/0.5538, allocations: 171.7 kB / 401.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5538, allocations: 4 kB / 401.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5539, allocations: 63.92 kB / 401.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5542, allocations: 32.39 kB / 401.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.5547, allocations: 336.2 kB / 401.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5551, allocations: 0.7362 MB / 402.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.749e-05/0.5552, allocations: 29.94 kB / 402.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.5553, allocations: 19.44 kB / 402.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5553, allocations: 0 / 402.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Templates: time 0.008108/0.5634, allocations: 1.913 MB / 404.5 MB, free: 10.64 MB / 334.1 MB [Timeout remaining time 659] make -j1 -f Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 480] [Calling os._exit(0)]