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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.7 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.485/1.485, allocations: 194.5 MB / 211.3 MB, free: 2.859 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03656/0.03657, allocations: 8.107 MB / 264.6 MB, free: 12.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 120 kB / 311.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 368.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 46.2 MB / 414.7 MB, free: 65.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08184/0.3071, allocations: 70.96 MB / 485.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001149/0.3073, allocations: 47.98 kB / 485.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0004678/0.3077, allocations: 380.8 kB / 486.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3078, allocations: 0 / 486.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3078, allocations: 0 / 486.1 MB, free: 10.42 MB / 330.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.0002204/0.308, allocations: 313.7 kB / 486.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.308, allocations: 8.031 kB / 486.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.3081, allocations: 0.9375 kB / 486.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.3082, allocations: 164.4 kB / 486.5 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3082, allocations: 4.375 kB / 486.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3082, allocations: 4.359 kB / 486.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.3083, allocations: 26.27 kB / 486.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3083, allocations: 4.172 kB / 486.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3083, allocations: 7.938 kB / 486.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3084, allocations: 0 / 486.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.3084, allocations: 3.938 kB / 486.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.3086, allocations: 157.6 kB / 486.7 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.3087, allocations: 22.61 kB / 486.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.3087, allocations: 8.266 kB / 486.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3087, allocations: 0 / 486.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.3087, allocations: 30.56 kB / 486.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3087, allocations: 0 / 486.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.3089, allocations: 45.64 kB / 486.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3089, allocations: 55.39 kB / 486.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.696e-05/0.309, allocations: 93.98 kB / 487 MB, free: 9.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.309, allocations: 25.7 kB / 487 MB, free: 9.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.309, allocations: 80.14 kB / 487.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.309, allocations: 3.906 kB / 487.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.309, allocations: 0 / 487.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3092, allocations: 318.8 kB / 487.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.3092, allocations: 0 / 487.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.3092, allocations: 0 / 487.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.3092, allocations: 12.92 kB / 487.4 MB, free: 8.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3092, allocations: 7.828 kB / 487.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.284e-05/0.3093, allocations: 45.62 kB / 487.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3093, allocations: 10.34 kB / 487.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3093, allocations: 0 / 487.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3093, allocations: 3.938 kB / 487.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/0.3094, allocations: 4 kB / 487.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3094, allocations: 0 / 487.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.3094, allocations: 0 / 487.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.3094, allocations: 0 / 487.5 MB, free: 8.777 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.3095, allocations: 109.9 kB / 487.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.3095, allocations: 4 kB / 487.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.3095, allocations: 11.06 kB / 487.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3095, allocations: 3.984 kB / 487.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3095, allocations: 0 / 487.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3095, allocations: 0 / 487.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3096, allocations: 149.7 kB / 487.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3096, allocations: 0 / 487.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.3097, allocations: 7.984 kB / 487.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3097, allocations: 4 kB / 487.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3097, allocations: 3.938 kB / 487.8 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3097, allocations: 3.938 kB / 487.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3097, allocations: 0 / 487.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.908e-05/0.3098, allocations: 57.14 kB / 487.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3098, allocations: 81.09 kB / 487.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3099, allocations: 7.969 kB / 487.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.3099, allocations: 8.031 kB / 487.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.3099, allocations: 0 / 487.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.3099, allocations: 0 / 487.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.3099, allocations: 75.28 kB / 488 MB, free: 8.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3099, allocations: 0 / 488 MB, free: 8.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.3101, allocations: 8 kB / 488 MB, free: 8.16 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.321e-05/0.3102, allocations: 99.19 kB / 488.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.3103, allocations: 15.92 kB / 488.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3103, allocations: 4.062 kB / 488.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.3103, allocations: 7.938 kB / 488.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.3105, allocations: 0 / 488.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.3107, allocations: 92.72 kB / 488.2 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3109, allocations: 0.677 MB / 488.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.43e-05/0.3109, allocations: 0 / 488.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.3109, allocations: 7.438 kB / 488.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.311, allocations: 0 / 488.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of Templates: time 0.001616/0.3126, allocations: 196.2 kB / 489.1 MB, free: 7.004 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)