Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 81.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 169.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1471/0.1471, allocations: 6.416 MB / 243.3 MB, free: 8.781 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 310 MB, free: 52.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.072e-05, allocations: 4.281 kB / 310 MB, free: 52.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001224/0.001245, allocations: 393.7 kB / 310.4 MB, free: 52.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.001368, allocations: 13.72 kB / 310.4 MB, free: 52.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.001385, allocations: 4.969 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.001395, allocations: 0 / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.001399, allocations: 0.6562 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.001517, allocations: 7.406 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.014e-05/0.001557, allocations: 6.953 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.001593, allocations: 2.266 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.001624, allocations: 1.094 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.001667, allocations: 2.844 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.00168, allocations: 0 / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.001686, allocations: 0.5625 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.001697, allocations: 1.125 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.001711, allocations: 1.219 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.093e-05/0.001752, allocations: 1.688 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001753, allocations: 0 / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.001754, allocations: 2.438 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.001757, allocations: 0 / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002364/0.001993, allocations: 335.3 kB / 310.7 MB, free: 51.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.002032, allocations: 13.48 kB / 310.7 MB, free: 51.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.002066, allocations: 3.062 kB / 310.8 MB, free: 51.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.948e-05/0.002116, allocations: 113.8 kB / 310.9 MB, free: 51.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.002128, allocations: 384 / 310.9 MB, free: 51.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.00215, allocations: 9.078 kB / 310.9 MB, free: 51.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.141e-05/0.002222, allocations: 29.59 kB / 310.9 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.002229, allocations: 192 / 310.9 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.002236, allocations: 1.469 kB / 310.9 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.002239, allocations: 384 / 310.9 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.002255, allocations: 5.5 kB / 310.9 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.002451, allocations: 117.3 kB / 311 MB, free: 51.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.00249, allocations: 32.31 kB / 311.1 MB, free: 51.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.002503, allocations: 13.48 kB / 311.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.002509, allocations: 0 / 311.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.002521, allocations: 35.58 kB / 311.1 MB, free: 51.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.002521, allocations: 0 / 311.1 MB, free: 51.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.002641, allocations: 33.39 kB / 311.1 MB, free: 51.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.002659, allocations: 59.83 kB / 311.2 MB, free: 51.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.106e-05/0.00268, allocations: 143.1 kB / 311.3 MB, free: 51.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.002686, allocations: 25.7 kB / 311.4 MB, free: 50.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.822e-05/0.002704, allocations: 128.8 kB / 311.5 MB, free: 50.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.002724, allocations: 1.375 kB / 311.5 MB, free: 50.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.00275, allocations: 19.61 kB / 311.5 MB, free: 50.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.002826, allocations: 0.4913 MB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.002839, allocations: 5.656 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.002845, allocations: 2.219 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.002872, allocations: 17.23 kB / 312 MB, free: 50.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.002874, allocations: 0.875 kB / 312 MB, free: 50.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.566e-05/0.002919, allocations: 42.83 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.002931, allocations: 6.297 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.002935, allocations: 0 / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.002948, allocations: 1.438 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.002974, allocations: 2.953 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.002978, allocations: 4.562 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.002988, allocations: 3.938 kB / 312.1 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.002993, allocations: 9.938 kB / 312.1 MB, free: 50.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.709e-05/0.003031, allocations: 157.8 kB / 312.2 MB, free: 50.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.003038, allocations: 5.812 kB / 312.2 MB, free: 50.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.003052, allocations: 7.609 kB / 312.3 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.003053, allocations: 1.062 kB / 312.3 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.003056, allocations: 0 / 312.3 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.003058, allocations: 1.094 kB / 312.3 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.931e-05/0.003138, allocations: 119.6 kB / 312.4 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.003139, allocations: 1.156 kB / 312.4 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.003162, allocations: 1.625 kB / 312.4 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.003163, allocations: 1.031 kB / 312.4 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.003169, allocations: 5.031 kB / 312.4 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.00317, allocations: 4.906 kB / 312.4 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003171, allocations: 0 / 312.4 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.003246, allocations: 77.55 kB / 312.5 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.003252, allocations: 11.09 kB / 312.5 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.003261, allocations: 1.062 kB / 312.5 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.003272, allocations: 1.406 kB / 312.5 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.003289, allocations: 0.75 kB / 312.5 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.003292, allocations: 1.344 kB / 312.5 MB, free: 49.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.003305, allocations: 123.2 kB / 312.6 MB, free: 49.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003305, allocations: 0 / 312.6 MB, free: 49.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.003467, allocations: 1.438 kB / 312.6 MB, free: 49.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 5.623e-05/0.003524, allocations: 100.1 kB / 312.7 MB, free: 49.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.003589, allocations: 14.73 kB / 312.7 MB, free: 49.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.003591, allocations: 4 kB / 312.7 MB, free: 49.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.0036, allocations: 9.812 kB / 312.7 MB, free: 49.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.003723, allocations: 2.031 kB / 312.7 MB, free: 49.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.003922, allocations: 108.4 kB / 312.8 MB, free: 49.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.394e-05/0.003946, allocations: 59.39 kB / 312.9 MB, free: 49.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.00396, allocations: 0.8906 kB / 312.9 MB, free: 49.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.003975, allocations: 9.562 kB / 312.9 MB, free: 49.42 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.003976, allocations: 0 / 312.9 MB, free: 49.42 MB / 282.7 MB Notification: Performance of Templates: time 0.002349/0.006325, allocations: 237.3 kB / 313.1 MB, free: 49.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.425336127053015]