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.0009344/0.0009344, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009901/0.0009901, allocations: 169 kB / 23.02 MB, free: 1.547 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.9218/0.9218, allocations: 158.6 MB / 184.9 MB, free: 2.926 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.02712/0.02712, allocations: 6.411 MB / 243.6 MB, free: 8.73 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 4.468e-06/4.468e-06, allocations: 0 / 310.7 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.769e-05, allocations: 5 kB / 310.7 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.00128/0.001317, allocations: 394.9 kB / 311.1 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002118/0.001529, allocations: 20 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.00155, allocations: 2.656 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.001573, allocations: 1.156 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.776e-06/0.001582, allocations: 0 / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.001771, allocations: 0.75 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.001845, allocations: 3.875 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.001897, allocations: 4.078 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.001935, allocations: 5.812 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.001997, allocations: 0 / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.002021, allocations: 0 / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.00203, allocations: 0 / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.002045, allocations: 0.5312 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.002066, allocations: 4.578 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.002138, allocations: 6.422 kB / 311.1 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002141, allocations: 0 / 311.1 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.002142, allocations: 0 / 311.1 MB, free: 51.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.002149, allocations: 0 / 311.1 MB, free: 51.79 MB / 282.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.000353/0.002502, allocations: 338.1 kB / 311.5 MB, free: 51.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.002567, allocations: 17.95 kB / 311.5 MB, free: 51.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.002617, allocations: 2.625 kB / 311.5 MB, free: 51.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.353e-05/0.002671, allocations: 106.6 kB / 311.6 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.002686, allocations: 3.344 kB / 311.6 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.002711, allocations: 1.188 kB / 311.6 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.00281, allocations: 31.06 kB / 311.6 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.002818, allocations: 0.8125 kB / 311.6 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.00283, allocations: 3.141 kB / 311.6 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.00284, allocations: 384 / 311.6 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.002857, allocations: 10.78 kB / 311.6 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.003134, allocations: 122 kB / 311.7 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.003181, allocations: 25.19 kB / 311.8 MB, free: 51.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.003199, allocations: 11.47 kB / 311.8 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.003207, allocations: 0 / 311.8 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.003231, allocations: 42.08 kB / 311.8 MB, free: 51.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.945e-06/0.003234, allocations: 3 kB / 311.8 MB, free: 51.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.003394, allocations: 39 kB / 311.9 MB, free: 50.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.003419, allocations: 52.3 kB / 311.9 MB, free: 50.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.306e-05/0.003442, allocations: 145.8 kB / 312.1 MB, free: 50.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.003448, allocations: 25.7 kB / 312.1 MB, free: 50.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.335e-05/0.003461, allocations: 130.9 kB / 312.2 MB, free: 50.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.00349, allocations: 6.219 kB / 312.2 MB, free: 50.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.003521, allocations: 22.81 kB / 312.2 MB, free: 50.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.003575, allocations: 0.4885 MB / 312.7 MB, free: 50.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.003589, allocations: 4.188 kB / 312.7 MB, free: 50.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.003595, allocations: 0 / 312.7 MB, free: 50.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.003634, allocations: 12.31 kB / 312.7 MB, free: 50.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003636, allocations: 0 / 312.7 MB, free: 50.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.453e-05/0.003681, allocations: 43.56 kB / 312.8 MB, free: 50.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.003696, allocations: 5.062 kB / 312.8 MB, free: 50.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.003702, allocations: 1.281 kB / 312.8 MB, free: 50.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.003715, allocations: 0 / 312.8 MB, free: 50.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.003751, allocations: 7.875 kB / 312.8 MB, free: 50.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.003757, allocations: 0 / 312.8 MB, free: 50.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-06/0.003766, allocations: 4.969 kB / 312.8 MB, free: 50.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.003773, allocations: 1.531 kB / 312.8 MB, free: 50.01 MB / 282.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.343e-05/0.003816, allocations: 158.8 kB / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.00382, allocations: 0 / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.003842, allocations: 9.328 kB / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.003844, allocations: 0 / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.003848, allocations: 0 / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.003856, allocations: 2.422 kB / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.428e-05/0.00395, allocations: 118.6 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00395, allocations: 1.219 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.003966, allocations: 1.438 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.003969, allocations: 1.922 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.003982, allocations: 1.312 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.003982, allocations: 0 / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.003985, allocations: 3.844 kB / 313.1 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.799e-05/0.004073, allocations: 77.11 kB / 313.2 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.004082, allocations: 6.422 kB / 313.2 MB, free: 49.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.004091, allocations: 0 / 313.2 MB, free: 49.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-06/0.004096, allocations: 4.062 kB / 313.2 MB, free: 49.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.004112, allocations: 2.266 kB / 313.2 MB, free: 49.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004113, allocations: 0 / 313.2 MB, free: 49.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.35e-05/0.004127, allocations: 121.3 kB / 313.3 MB, free: 49.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004127, allocations: 0 / 313.3 MB, free: 49.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.004238, allocations: 1.75 kB / 313.3 MB, free: 49.48 MB / 282.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 7.723e-05/0.004315, allocations: 97.5 kB / 313.4 MB, free: 49.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.004409, allocations: 17.92 kB / 313.4 MB, free: 49.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.004411, allocations: 0 / 313.4 MB, free: 49.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-06/0.004419, allocations: 14.58 kB / 313.4 MB, free: 49.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.004522, allocations: 2.203 kB / 313.4 MB, free: 49.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.004808, allocations: 103.1 kB / 313.5 MB, free: 49.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.004835, allocations: 54.22 kB / 313.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.004864, allocations: 1 kB / 313.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.004891, allocations: 8.5 kB / 313.6 MB, free: 49.17 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.004892, allocations: 1.094 kB / 313.6 MB, free: 49.17 MB / 282.7 MB Notification: Performance of Templates: time 0.002174/0.007066, allocations: 241.7 kB / 313.8 MB, free: 49.14 MB / 282.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.7337811063043773]