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.0008391/0.0008391, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008656/0.0008656, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9358/0.9358, allocations: 158.6 MB / 185.2 MB, free: 2.777 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.08326/0.08326, allocations: 6.419 MB / 244 MB, free: 8.613 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 2.655e-06/2.655e-06, allocations: 0 / 262.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.763e-05, allocations: 6.25 kB / 262.1 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001772/0.0018, allocations: 397.2 kB / 262.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.001994, allocations: 11.98 kB / 262.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.002011, allocations: 0 / 262.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.002027, allocations: 0 / 262.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.376e-06/0.002035, allocations: 7.938 kB / 262.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.002176, allocations: 7.922 kB / 262.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.00223, allocations: 0 / 262.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.002273, allocations: 4 kB / 262.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.00231, allocations: 7.984 kB / 262.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.002363, allocations: 3.938 kB / 262.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.002381, allocations: 0 / 262.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.002388, allocations: 0 / 262.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.002402, allocations: 0 / 262.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.002417, allocations: 4 kB / 262.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.081e-05/0.002468, allocations: 3.938 kB / 262.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00247, allocations: 0 / 262.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002471, allocations: 0 / 262.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.002474, allocations: 0 / 262.5 MB, free: 6.055 MB / 250.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.0002363/0.002711, allocations: 212.8 kB / 262.7 MB, free: 5.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.002755, allocations: 19.98 kB / 262.7 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.002779, allocations: 0.9375 kB / 262.7 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/0.002848, allocations: 105.8 kB / 262.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.002859, allocations: 384 / 262.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.002882, allocations: 4.375 kB / 262.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/0.002944, allocations: 26.27 kB / 262.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.002951, allocations: 192 / 262.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.002958, allocations: 4.359 kB / 262.9 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.002964, allocations: 384 / 262.9 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.00298, allocations: 15.86 kB / 262.9 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.00317, allocations: 61.23 kB / 263 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.003208, allocations: 22.61 kB / 263 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.089e-05/0.003219, allocations: 4.859 kB / 263 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.003225, allocations: 3.938 kB / 263 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.003253, allocations: 38.62 kB / 263 MB, free: 5.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.003254, allocations: 0 / 263 MB, free: 5.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 9.262e-05/0.003346, allocations: 37.62 kB / 263.1 MB, free: 5.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.003381, allocations: 51.41 kB / 263.1 MB, free: 5.348 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.599e-05/0.003417, allocations: 89.86 kB / 263.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.003428, allocations: 25.83 kB / 263.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.003456, allocations: 88.14 kB / 263.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.003481, allocations: 4.297 kB / 263.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.003509, allocations: 13.7 kB / 263.3 MB, free: 5.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.00361, allocations: 318.8 kB / 263.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.00362, allocations: 0 / 263.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.003627, allocations: 0 / 263.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.003664, allocations: 12.84 kB / 263.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003666, allocations: 0 / 263.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.228e-05/0.003718, allocations: 37.64 kB / 263.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.003731, allocations: 8.094 kB / 263.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.003735, allocations: 0 / 263.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.003747, allocations: 4 kB / 263.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.003779, allocations: 4 kB / 263.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.003783, allocations: 3.984 kB / 263.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.003796, allocations: 4 kB / 263.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.003799, allocations: 0 / 263.7 MB, free: 4.703 MB / 250.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 6.028e-05/0.00386, allocations: 109.8 kB / 263.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.003866, allocations: 0 / 263.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.00388, allocations: 3 kB / 263.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.003882, allocations: 12 kB / 263.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.003884, allocations: 0 / 263.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.003887, allocations: 0 / 263.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.003991, allocations: 69.83 kB / 263.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.003992, allocations: 0 / 263.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.004013, allocations: 4 kB / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.004015, allocations: 0 / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.004024, allocations: 0 / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.004025, allocations: 3.938 kB / 263.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.004027, allocations: 0 / 263.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.578e-05/0.004123, allocations: 69.03 kB / 264 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.004129, allocations: 4 kB / 264 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.004137, allocations: 0 / 264 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.004147, allocations: 4 kB / 264 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.004158, allocations: 0 / 264 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.00416, allocations: 0 / 264 MB, free: 4.383 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.885e-06/0.004168, allocations: 4.859 kB / 264 MB, free: 4.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004168, allocations: 0 / 264 MB, free: 4.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000165/0.004333, allocations: 4 kB / 264 MB, free: 4.371 MB / 250.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 8.195e-05/0.004415, allocations: 76.41 kB / 264.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.484e-05/0.00447, allocations: 20.83 kB / 264.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.004473, allocations: 0 / 264.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.004484, allocations: 8.844 kB / 264.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.84e-05/0.004542, allocations: 7.938 kB / 264.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.004767, allocations: 96.75 kB / 264.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.004796, allocations: 51.36 kB / 264.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.166e-05/0.004818, allocations: 4 kB / 264.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.004849, allocations: 47.38 kB / 264.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00485, allocations: 4.125 kB / 264.3 MB, free: 4 MB / 250.7 MB Notification: Performance of Templates: time 0.001984/0.006834, allocations: 248.7 kB / 264.6 MB, free: 3.758 MB / 250.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: 2.5389424841850996]