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.001496/0.001496, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001765/0.001765, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.322/1.322, allocations: 158.6 MB / 184.2 MB, free: 6.418 MB / 174.1 MB " [Timeout remaining time 178] 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.04708/0.04708, allocations: 6.397 MB / 242.9 MB, free: 12.76 MB / 238.1 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.613e-06/1.613e-06, allocations: 0 / 360.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.905e-05, allocations: 5.797 kB / 360.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001126/0.001155, allocations: 397.2 kB / 360.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001041/0.001259, allocations: 15.92 kB / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.269e-05/0.001272, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.598e-06/0.001281, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.646e-06/0.001285, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.769e-05/0.001383, allocations: 7.984 kB / 360.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.974e-05/0.001412, allocations: 8 kB / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.00145, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.001475, allocations: 4 kB / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.001507, allocations: 3.984 kB / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.001517, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.001521, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.001529, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.518e-06/0.001538, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.121e-05/0.00157, allocations: 0 / 360.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.001571, allocations: 4 kB / 360.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001571, allocations: 3.938 kB / 360.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.001574, allocations: 4 kB / 360.7 MB, free: 10.66 MB / 286.1 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.0001739/0.001748, allocations: 238.5 kB / 361 MB, free: 10.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.001774, allocations: 11.98 kB / 361 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.656e-05/0.001791, allocations: 4.875 kB / 361 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.701e-05/0.001828, allocations: 105.8 kB / 361.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.001836, allocations: 384 / 361.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.001848, allocations: 384 / 361.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.495e-05/0.001903, allocations: 30.27 kB / 361.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.001908, allocations: 192 / 361.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-06/0.001912, allocations: 384 / 361.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.001918, allocations: 8.375 kB / 361.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.138e-05/0.00193, allocations: 7.938 kB / 361.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.002079, allocations: 105.3 kB / 361.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.909e-05/0.002108, allocations: 18.52 kB / 361.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-06/0.002118, allocations: 4.859 kB / 361.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.002126, allocations: 4.094 kB / 361.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-06/0.002135, allocations: 34.56 kB / 361.3 MB, free: 9.988 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.002136, allocations: 3.938 kB / 361.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 7.371e-05/0.00221, allocations: 33.69 kB / 361.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.362e-05/0.002224, allocations: 51.53 kB / 361.4 MB, free: 9.883 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.31e-05/0.002237, allocations: 101.8 kB / 361.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.002242, allocations: 25.7 kB / 361.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-06/0.002252, allocations: 80.14 kB / 361.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.002263, allocations: 3.953 kB / 361.6 MB, free: 9.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.002283, allocations: 17.72 kB / 361.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.002318, allocations: 314.8 kB / 361.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.002326, allocations: 0 / 361.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.002332, allocations: 4 kB / 361.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.002356, allocations: 16.84 kB / 361.9 MB, free: 9.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.002357, allocations: 4.062 kB / 361.9 MB, free: 9.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.11e-05/0.002398, allocations: 33.7 kB / 362 MB, free: 9.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.002416, allocations: 4 kB / 362 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.002419, allocations: 0 / 362 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.00243, allocations: 0 / 362 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.002453, allocations: 7.938 kB / 362 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.002456, allocations: 3.938 kB / 362 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.002467, allocations: 7.938 kB / 362 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.002471, allocations: 4 kB / 362 MB, free: 9.223 MB / 286.1 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 2.983e-05/0.0025, allocations: 109.8 kB / 362.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.002506, allocations: 4.031 kB / 362.1 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-06/0.002514, allocations: 6.953 kB / 362.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.002515, allocations: 0 / 362.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.002517, allocations: 0 / 362.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.002519, allocations: 4 kB / 362.1 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.218e-05/0.002591, allocations: 105.2 kB / 362.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.002593, allocations: 7.969 kB / 362.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.002613, allocations: 0 / 362.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.002615, allocations: 0 / 362.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.002619, allocations: 4 kB / 362.2 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00262, allocations: 0 / 362.2 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.002621, allocations: 4 kB / 362.2 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.947e-05/0.002681, allocations: 69 kB / 362.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.002684, allocations: 3.938 kB / 362.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.002692, allocations: 4.031 kB / 362.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.002703, allocations: 0 / 362.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-06/0.00271, allocations: 4 kB / 362.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.002712, allocations: 0 / 362.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.658e-06/0.002721, allocations: 75.28 kB / 362.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of sort global known variables: time 6e-08/0.002721, allocations: 0 / 362.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001721/0.002893, allocations: 7.938 kB / 362.4 MB, free: 8.766 MB / 286.1 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 4.547e-05/0.002939, allocations: 103.3 kB / 362.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.808e-05/0.002977, allocations: 7.984 kB / 362.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.002978, allocations: 0 / 362.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.002984, allocations: 7.938 kB / 362.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.003091, allocations: 0 / 362.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.003243, allocations: 99.77 kB / 362.6 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.606e-05/0.003259, allocations: 55.36 kB / 362.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.125e-05/0.00327, allocations: 4.125 kB / 362.7 MB, free: 8.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.003281, allocations: 8.5 kB / 362.7 MB, free: 8.43 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.003281, allocations: 0 / 362.7 MB, free: 8.43 MB / 286.1 MB Notification: Performance of Templates: time 0.001823/0.005104, allocations: 213.5 kB / 362.9 MB, free: 8.223 MB / 286.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.135179486125708] Failed to read output from testmodel.py, exit status != 0: 0.010860919952392578 0.023972734000000002 0.019337901 Calling exit ...