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.002616/0.002616, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.898/1.898, allocations: 194.4 MB / 202.4 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03723/0.03723, allocations: 7.9 MB / 255.2 MB, free: 8.18 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.001588/0.001588, allocations: 114.2 kB / 301.9 MB, free: 32.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.578e-05, allocations: 4 kB / 354.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3139, allocations: 46.19 MB / 400.5 MB, free: 46.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.4195, allocations: 70.2 MB / 470.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001679/0.4198, allocations: 48.61 kB / 470.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0006974/0.4205, allocations: 369.8 kB / 471.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4205, allocations: 4 kB / 471.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4205, allocations: 0.7812 kB / 471.1 MB, free: 4.312 MB / 314.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.0002391/0.4208, allocations: 308.5 kB / 471.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4208, allocations: 12.09 kB / 471.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.4209, allocations: 1.031 kB / 471.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.421, allocations: 163 kB / 471.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.421, allocations: 1.031 kB / 471.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.421, allocations: 0 / 471.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.053e-05/0.4211, allocations: 0 / 471.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.104e-05/0.4212, allocations: 37.62 kB / 471.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4212, allocations: 0 / 471.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4212, allocations: 0 / 471.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4212, allocations: 0.9062 kB / 471.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.4215, allocations: 131.8 kB / 471.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.4215, allocations: 25.72 kB / 471.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.4215, allocations: 4.859 kB / 471.8 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4216, allocations: 6.375 kB / 471.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4216, allocations: 31.41 kB / 471.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4216, allocations: 0 / 471.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.4217, allocations: 33.7 kB / 471.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.4218, allocations: 60.06 kB / 471.9 MB, free: 3.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.4218, allocations: 87.28 kB / 472 MB, free: 3.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4218, allocations: 25.7 kB / 472 MB, free: 3.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.4219, allocations: 80.14 kB / 472.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.4219, allocations: 6.281 kB / 472.1 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.4219, allocations: 0 / 472.1 MB, free: 3.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.422, allocations: 312.9 kB / 472.4 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.4221, allocations: 4.719 kB / 472.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-06/0.4221, allocations: 4.734 kB / 472.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.576e-05/0.4221, allocations: 4 kB / 472.4 MB, free: 2.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4221, allocations: 4.75 kB / 472.4 MB, free: 2.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.573e-05/0.4221, allocations: 30.27 kB / 472.4 MB, free: 2.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4222, allocations: 11.95 kB / 472.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4222, allocations: 1.062 kB / 472.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4222, allocations: 0 / 472.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.446e-05/0.4222, allocations: 4.688 kB / 472.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4222, allocations: 5.312 kB / 472.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.4223, allocations: 0.8438 kB / 472.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4223, allocations: 0 / 472.5 MB, free: 2.773 MB / 314.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 () * 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 7.277e-05/0.4223, allocations: 109.7 kB / 472.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-06/0.4224, allocations: 2.406 kB / 472.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.4224, allocations: 8.297 kB / 472.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4224, allocations: 7.125 kB / 472.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4224, allocations: 0.6562 kB / 472.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4224, allocations: 0 / 472.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4225, allocations: 130.9 kB / 472.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4226, allocations: 0 / 472.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.4226, allocations: 3.281 kB / 472.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4226, allocations: 5.844 kB / 472.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4226, allocations: 0 / 472.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4226, allocations: 2.109 kB / 472.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4226, allocations: 3.953 kB / 472.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.4227, allocations: 66.41 kB / 472.8 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.4228, allocations: 77.8 kB / 472.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4228, allocations: 0 / 472.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.4228, allocations: 0.5625 kB / 472.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.4228, allocations: 4.812 kB / 472.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4228, allocations: 3.953 kB / 472.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.4229, allocations: 76.19 kB / 472.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 472.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.4231, allocations: 0.5 kB / 472.9 MB, free: 2.223 MB / 314.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 () * 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 0.0001161/0.4232, allocations: 103.8 kB / 473 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.4232, allocations: 10.41 kB / 473.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4233, allocations: 0.5312 kB / 473.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.241e-06/0.4233, allocations: 7.984 kB / 473.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.673e-05/0.4234, allocations: 0.75 kB / 473.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.4236, allocations: 67.06 kB / 473.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4239, allocations: 0.6768 MB / 473.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.4239, allocations: 1.531 kB / 473.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.4239, allocations: 8.531 kB / 473.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4239, allocations: 0.8438 kB / 473.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of Templates: time 0.00179/0.4257, allocations: 194.5 kB / 474 MB, free: 1.168 MB / 314.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)