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.0008481/0.0008481, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001068/0.001068, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.8982/0.8982, allocations: 158.6 MB / 185.2 MB, free: 2.77 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.04855/0.04855, allocations: 6.414 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 1.462e-06/1.462e-06, allocations: 0 / 262.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.514e-05, allocations: 2.312 kB / 262.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0009489/0.0009641, allocations: 445.3 kB / 262.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.001121, allocations: 15.91 kB / 262.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.001138, allocations: 0 / 262.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.001153, allocations: 0 / 262.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.001159, allocations: 0 / 262.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.001299, allocations: 3.938 kB / 262.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.001351, allocations: 12 kB / 262.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.001395, allocations: 0 / 262.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.001438, allocations: 3.984 kB / 262.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.00149, allocations: 4 kB / 262.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.001503, allocations: 0 / 262.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.00151, allocations: 0 / 262.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.001524, allocations: 3.984 kB / 262.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.12e-05/0.001535, allocations: 0 / 262.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.132e-05/0.001576, allocations: 0 / 262.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.001579, allocations: 3.938 kB / 262.6 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.001579, allocations: 3.938 kB / 262.6 MB, free: 5.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.001584, allocations: 8 kB / 262.6 MB, free: 5.953 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.0001793/0.001763, allocations: 204.8 kB / 262.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.001794, allocations: 15.97 kB / 262.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.001814, allocations: 0.9375 kB / 262.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.159e-05/0.001866, allocations: 105.8 kB / 262.9 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.001875, allocations: 384 / 262.9 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.001889, allocations: 384 / 262.9 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.227e-05/0.001941, allocations: 34.27 kB / 263 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.001948, allocations: 192 / 263 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.001954, allocations: 4.359 kB / 263 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.001958, allocations: 4.375 kB / 263 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-06/0.001968, allocations: 3.938 kB / 263 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.002116, allocations: 73.14 kB / 263.1 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.637e-05/0.002143, allocations: 18.58 kB / 263.1 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-06/0.002151, allocations: 8.953 kB / 263.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.002156, allocations: 0 / 263.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.002176, allocations: 30.56 kB / 263.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.002176, allocations: 0 / 263.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 7.261e-05/0.002249, allocations: 33.64 kB / 263.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.002275, allocations: 59.52 kB / 263.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.382e-05/0.002299, allocations: 93.86 kB / 263.3 MB, free: 5.156 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.002309, allocations: 29.7 kB / 263.3 MB, free: 5.121 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.002326, allocations: 80.14 kB / 263.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.002346, allocations: 4.297 kB / 263.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.002365, allocations: 13.72 kB / 263.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.002438, allocations: 314.8 kB / 263.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.002444, allocations: 4 kB / 263.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.002449, allocations: 0 / 263.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.002473, allocations: 12.84 kB / 263.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.002474, allocations: 4.062 kB / 263.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.355e-05/0.002508, allocations: 37.64 kB / 263.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.002518, allocations: 4 kB / 263.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.002522, allocations: 0 / 263.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.002532, allocations: 0 / 263.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.00255, allocations: 4 kB / 263.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.002552, allocations: 3.938 kB / 263.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-06/0.002559, allocations: 0 / 263.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.002563, allocations: 0 / 263.8 MB, free: 4.621 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 4.247e-05/0.002605, allocations: 125.8 kB / 263.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-06/0.002608, allocations: 4.031 kB / 263.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.002619, allocations: 3 kB / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.00262, allocations: 0 / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.002622, allocations: 0 / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.002623, allocations: 0 / 263.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.293e-05/0.002686, allocations: 69.84 kB / 264 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.002689, allocations: 3.984 kB / 264 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.002701, allocations: 4 kB / 264 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.002701, allocations: 0 / 264 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.002709, allocations: 0 / 264 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.002709, allocations: 4 kB / 264 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00271, allocations: 4 kB / 264 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.00278, allocations: 65 kB / 264.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-06/0.002784, allocations: 0 / 264.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-06/0.002793, allocations: 0 / 264.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.002801, allocations: 4 kB / 264.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.002811, allocations: 0 / 264.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.002812, allocations: 0 / 264.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.102e-06/0.002819, allocations: 4.859 kB / 264.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002819, allocations: 0 / 264.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.002955, allocations: 0 / 264.1 MB, free: 4.285 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 6.681e-05/0.003022, allocations: 84.48 kB / 264.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.452e-05/0.003066, allocations: 16.78 kB / 264.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.003068, allocations: 0 / 264.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.003075, allocations: 8.859 kB / 264.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.844e-05/0.003123, allocations: 3.938 kB / 264.2 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.003294, allocations: 96.75 kB / 264.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.531e-05/0.00332, allocations: 51.36 kB / 264.3 MB, free: 3.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.003337, allocations: 4.125 kB / 264.3 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.003363, allocations: 47.38 kB / 264.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of SimCode: time 3.6e-07/0.003363, allocations: 4 kB / 264.4 MB, free: 3.914 MB / 250.7 MB Notification: Performance of Templates: time 0.001791/0.005154, allocations: 252.5 kB / 264.6 MB, free: 3.668 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4245053636841476]