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.003735/0.003735, allocations: 174.8 kB / 15.12 MB, free: 5.984 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.015/1.015, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03554/0.03554, allocations: 8.096 MB / 263.6 MB, free: 2.145 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.001535/0.001535, allocations: 128.5 kB / 310.6 MB, free: 27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8 kB / 367.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 46.2 MB / 413.4 MB, free: 47.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06723/0.2308, allocations: 70.95 MB / 484.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001134/0.2309, allocations: 48.86 kB / 484.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0004993/0.2314, allocations: 373.5 kB / 484.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2314, allocations: 0 / 484.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2314, allocations: 1.812 kB / 484.8 MB, free: 14.41 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.0001844/0.2316, allocations: 316.1 kB / 485.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2317, allocations: 8.031 kB / 485.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.2317, allocations: 0.625 kB / 485.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.841e-05/0.2318, allocations: 167 kB / 485.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2318, allocations: 1.219 kB / 485.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2318, allocations: 4 kB / 485.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.504e-05/0.2319, allocations: 30.86 kB / 485.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.2319, allocations: 0 / 485.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.2319, allocations: 0 / 485.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.2319, allocations: 2.281 kB / 485.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.2319, allocations: 8 kB / 485.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.2322, allocations: 153.6 kB / 485.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.99e-05/0.2322, allocations: 18.61 kB / 485.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-06/0.2322, allocations: 3.812 kB / 485.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.2322, allocations: 34.5 kB / 485.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.2322, allocations: 0 / 485.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 9.924e-05/0.2323, allocations: 37.75 kB / 485.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.2324, allocations: 51.41 kB / 485.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.466e-05/0.2324, allocations: 89 kB / 485.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2324, allocations: 25.7 kB / 485.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.2324, allocations: 84.27 kB / 485.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2325, allocations: 7.891 kB / 485.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-06/0.2325, allocations: 0 / 485.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2326, allocations: 314.8 kB / 486.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.2326, allocations: 4 kB / 486.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.2326, allocations: 0 / 486.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.692e-05/0.2326, allocations: 11.92 kB / 486.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2326, allocations: 3.938 kB / 486.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.643e-05/0.2327, allocations: 41.72 kB / 486.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2327, allocations: 8 kB / 486.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2327, allocations: 0 / 486.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2327, allocations: 0 / 486.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.46e-05/0.2327, allocations: 4 kB / 486.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2327, allocations: 0 / 486.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.2328, allocations: 0 / 486.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2328, allocations: 0 / 486.2 MB, free: 12.81 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.33e-05/0.2328, allocations: 109.8 kB / 486.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.2328, allocations: 11.95 kB / 486.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.2329, allocations: 7.156 kB / 486.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2329, allocations: 0 / 486.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2329, allocations: 0 / 486.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.2329, allocations: 0 / 486.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.233, allocations: 153.7 kB / 486.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.233, allocations: 0 / 486.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.233, allocations: 4 kB / 486.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.233, allocations: 7.922 kB / 486.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2331, allocations: 7.891 kB / 486.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2331, allocations: 0 / 486.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2331, allocations: 4 kB / 486.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.555e-05/0.2331, allocations: 61.12 kB / 486.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.2332, allocations: 77.11 kB / 486.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.2332, allocations: 4.031 kB / 486.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.2332, allocations: 3.953 kB / 486.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.2332, allocations: 0 / 486.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.2332, allocations: 0 / 486.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.9e-05/0.2333, allocations: 79.38 kB / 486.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2333, allocations: 0 / 486.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.2335, allocations: 4 kB / 486.7 MB, free: 12.2 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.512e-05/0.2336, allocations: 107.2 kB / 486.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.549e-05/0.2336, allocations: 7.938 kB / 486.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2336, allocations: 0 / 486.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.2336, allocations: 11.94 kB / 486.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.206e-05/0.2337, allocations: 128 / 486.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.2339, allocations: 96.7 kB / 486.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.2341, allocations: 0.6731 MB / 487.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.2341, allocations: 0 / 487.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-06/0.2341, allocations: 7.438 kB / 487.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2341, allocations: 0 / 487.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of Templates: time 0.001371/0.2355, allocations: 196.2 kB / 487.8 MB, free: 11.07 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)