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.000959/0.000959, allocations: 92.22 kB / 19.65 MB, free: 276 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.001027/0.001027, allocations: 169 kB / 23.02 MB, free: 1.551 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.9225/0.9225, allocations: 158.6 MB / 184.9 MB, free: 2.918 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.03845/0.03845, allocations: 6.408 MB / 243.6 MB, free: 8.727 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 2.855e-06/2.855e-06, allocations: 1.156 kB / 310.7 MB, free: 51.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.977e-05, allocations: 5.266 kB / 310.7 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001196/0.001226, allocations: 397.1 kB / 311.1 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.001382, allocations: 18.33 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.628e-05/0.001398, allocations: 0 / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.001419, allocations: 0.8125 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.001425, allocations: 0 / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.001589, allocations: 3.438 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.00164, allocations: 2.656 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.001688, allocations: 9.453 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.001723, allocations: 2.578 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.001774, allocations: 1.125 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.001791, allocations: 0 / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.001798, allocations: 1.344 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.001816, allocations: 1.812 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.001838, allocations: 1.031 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.676e-05/0.001895, allocations: 0.7031 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.001897, allocations: 1.844 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.001897, allocations: 3.938 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.001902, allocations: 5.094 kB / 311.1 MB, free: 51.76 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.0002449/0.002147, allocations: 339.4 kB / 311.5 MB, free: 51.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.002191, allocations: 13.11 kB / 311.5 MB, free: 51.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.002227, allocations: 4.016 kB / 311.5 MB, free: 51.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.002278, allocations: 106.5 kB / 311.6 MB, free: 51.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.002291, allocations: 2.344 kB / 311.6 MB, free: 51.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.002324, allocations: 384 / 311.6 MB, free: 51.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.002407, allocations: 29.94 kB / 311.6 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.002414, allocations: 1.25 kB / 311.6 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.002424, allocations: 3.516 kB / 311.6 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.002433, allocations: 384 / 311.6 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.002447, allocations: 10.56 kB / 311.6 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.002681, allocations: 116.9 kB / 311.7 MB, free: 51.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.682e-05/0.002717, allocations: 29.09 kB / 311.8 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.002733, allocations: 9.453 kB / 311.8 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.002742, allocations: 4.438 kB / 311.8 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.002763, allocations: 36.66 kB / 311.8 MB, free: 50.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.002765, allocations: 0 / 311.8 MB, free: 50.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.002908, allocations: 40.59 kB / 311.9 MB, free: 50.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.002933, allocations: 52.5 kB / 311.9 MB, free: 50.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.427e-05/0.002957, allocations: 142.8 kB / 312.1 MB, free: 50.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.002964, allocations: 26.89 kB / 312.1 MB, free: 50.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.002979, allocations: 126.9 kB / 312.2 MB, free: 50.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.00301, allocations: 11.95 kB / 312.2 MB, free: 50.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.003037, allocations: 21.56 kB / 312.2 MB, free: 50.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.0031, allocations: 498 kB / 312.7 MB, free: 50.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.003114, allocations: 1.062 kB / 312.7 MB, free: 50.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.003124, allocations: 5 kB / 312.7 MB, free: 50.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.003169, allocations: 12.86 kB / 312.7 MB, free: 50.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.003172, allocations: 0 / 312.7 MB, free: 50.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.658e-05/0.003228, allocations: 42.84 kB / 312.8 MB, free: 50 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.003248, allocations: 5.312 kB / 312.8 MB, free: 50 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.003255, allocations: 4.094 kB / 312.8 MB, free: 49.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.003278, allocations: 1.219 kB / 312.8 MB, free: 49.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.065e-05/0.003319, allocations: 2.859 kB / 312.8 MB, free: 49.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.003327, allocations: 1.5 kB / 312.8 MB, free: 49.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.00334, allocations: 7.875 kB / 312.8 MB, free: 49.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.003348, allocations: 2.234 kB / 312.8 MB, free: 49.98 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.807e-05/0.003396, allocations: 154 kB / 313 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.003402, allocations: 0.7031 kB / 313 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.00343, allocations: 9.047 kB / 313 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003432, allocations: 0 / 313 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.003436, allocations: 4 kB / 313 MB, free: 49.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.003441, allocations: 1.438 kB / 313 MB, free: 49.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.493e-05/0.003526, allocations: 115.3 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.003527, allocations: 1.344 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.003545, allocations: 3.062 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.003546, allocations: 0 / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.003561, allocations: 1.312 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.003562, allocations: 0.7031 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.003564, allocations: 3.281 kB / 313.1 MB, free: 49.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.52e-05/0.003659, allocations: 76.2 kB / 313.2 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-06/0.003665, allocations: 10.23 kB / 313.2 MB, free: 49.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.003677, allocations: 5.219 kB / 313.2 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-06/0.003682, allocations: 0 / 313.2 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.003704, allocations: 1.797 kB / 313.2 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.003707, allocations: 1.781 kB / 313.2 MB, free: 49.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.614e-05/0.003723, allocations: 119.2 kB / 313.3 MB, free: 49.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003723, allocations: 0 / 313.3 MB, free: 49.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.003839, allocations: 1.156 kB / 313.3 MB, free: 49.46 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 6.997e-05/0.003909, allocations: 101.1 kB / 313.4 MB, free: 49.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.802e-05/0.003987, allocations: 21.62 kB / 313.4 MB, free: 49.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.003989, allocations: 1.219 kB / 313.4 MB, free: 49.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-06/0.003995, allocations: 8.875 kB / 313.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.927e-05/0.004094, allocations: 2.953 kB / 313.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.004374, allocations: 100.9 kB / 313.5 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.817e-05/0.004402, allocations: 53.84 kB / 313.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.609e-05/0.004428, allocations: 0.5156 kB / 313.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.004456, allocations: 9.781 kB / 313.6 MB, free: 49.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.004457, allocations: 4.125 kB / 313.6 MB, free: 49.14 MB / 282.7 MB Notification: Performance of Templates: time 0.001867/0.006324, allocations: 230.1 kB / 313.8 MB, free: 49.12 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: 3.0015857717953622]