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.001153/0.001153, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001803/0.002956, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002692, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.036/1.036, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1996/1.236, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.03346/0.03346, allocations: 6.419 MB / 227.8 MB, free: 10.22 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005384/0.03884, allocations: 2.173 MB / 230 MB, free: 8.039 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.555e-06/2.555e-06, allocations: 0 / 231.2 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.904e-05, allocations: 2.312 kB / 231.2 MB, free: 6.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0008704/0.0008895, allocations: 453.5 kB / 231.6 MB, free: 6.418 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 3.63e-05/0.0009258, allocations: 11.97 kB / 231.6 MB, free: 6.406 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.012e-05/0.0009359, allocations: 0 / 231.6 MB, free: 6.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-06/0.0009396, allocations: 0 / 231.6 MB, free: 6.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-07/0.0009404, allocations: 4 kB / 231.6 MB, free: 6.402 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.07e-05/0.0009911, allocations: 7.938 kB / 231.6 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.001042, allocations: 3.938 kB / 231.6 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.001088, allocations: 7.984 kB / 231.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.00113, allocations: 0 / 231.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.001191, allocations: 3.984 kB / 231.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.001211, allocations: 0 / 231.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-06/0.001218, allocations: 0 / 231.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.001233, allocations: 4 kB / 231.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.001248, allocations: 0 / 231.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.001317, allocations: 4 kB / 231.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.001329, allocations: 0 / 231.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.001329, allocations: 4 kB / 231.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.00134, allocations: 3.938 kB / 231.7 MB, free: 6.363 MB / 234.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.0003019/0.001642, allocations: 208.8 kB / 231.9 MB, free: 6.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.001676, allocations: 8.031 kB / 231.9 MB, free: 6.125 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.001705, allocations: 4.922 kB / 231.9 MB, free: 6.121 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.564e-05/0.001771, allocations: 105.8 kB / 232 MB, free: 5.992 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.001781, allocations: 384 / 232 MB, free: 5.992 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.001807, allocations: 384 / 232 MB, free: 5.992 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.001873, allocations: 30.27 kB / 232 MB, free: 5.957 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.00188, allocations: 192 / 232 MB, free: 5.957 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.001886, allocations: 4.312 kB / 232 MB, free: 5.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.001892, allocations: 4.375 kB / 232 MB, free: 5.949 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.001912, allocations: 3.938 kB / 232 MB, free: 5.945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.002117, allocations: 69.03 kB / 232.1 MB, free: 5.863 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.002156, allocations: 14.58 kB / 232.1 MB, free: 5.84 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.002169, allocations: 12.95 kB / 232.1 MB, free: 5.824 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.002175, allocations: 0 / 232.1 MB, free: 5.824 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.002198, allocations: 30.56 kB / 232.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.002199, allocations: 0 / 232.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 9.651e-05/0.002295, allocations: 33.64 kB / 232.2 MB, free: 5.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.002334, allocations: 63.52 kB / 232.2 MB, free: 5.672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.616e-05/0.00237, allocations: 93.84 kB / 232.3 MB, free: 5.57 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.002381, allocations: 25.7 kB / 232.4 MB, free: 5.539 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.002407, allocations: 80.14 kB / 232.4 MB, free: 5.457 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.002434, allocations: 0 / 232.4 MB, free: 5.457 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.002459, allocations: 21.72 kB / 232.5 MB, free: 5.43 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.002539, allocations: 314.8 kB / 232.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.002546, allocations: 4 kB / 232.8 MB, free: 5.109 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.00255, allocations: 0 / 232.8 MB, free: 5.109 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.002575, allocations: 16.78 kB / 232.8 MB, free: 5.09 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.002577, allocations: 4.062 kB / 232.8 MB, free: 5.086 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.961e-05/0.002617, allocations: 33.7 kB / 232.8 MB, free: 5.047 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.002628, allocations: 4 kB / 232.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.002632, allocations: 0 / 232.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.002647, allocations: 0 / 232.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.002667, allocations: 4 kB / 232.8 MB, free: 5.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.00267, allocations: 0 / 232.8 MB, free: 5.039 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.002681, allocations: 7.938 kB / 232.8 MB, free: 5.031 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.002686, allocations: 3.984 kB / 232.8 MB, free: 5.027 MB / 234.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 6.152e-05/0.002747, allocations: 121.8 kB / 233 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-06/0.002752, allocations: 0 / 233 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.00277, allocations: 6.953 kB / 233 MB, free: 4.891 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.002771, allocations: 0 / 233 MB, free: 4.891 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.002772, allocations: 0 / 233 MB, free: 4.891 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.002775, allocations: 0 / 233 MB, free: 4.891 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.457e-05/0.00286, allocations: 81.72 kB / 233.1 MB, free: 4.793 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00286, allocations: 3.938 kB / 233.1 MB, free: 4.789 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.002875, allocations: 3.984 kB / 233.1 MB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.002881, allocations: 8 kB / 233.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.002882, allocations: 0 / 233.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.00289, allocations: 4 kB / 233.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00289, allocations: 0 / 233.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.002891, allocations: 0 / 233.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.186e-05/0.002963, allocations: 61.06 kB / 233.1 MB, free: 4.695 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.002972, allocations: 4 kB / 233.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-06/0.002978, allocations: 0 / 233.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.002989, allocations: 0 / 233.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-07/0.00299, allocations: 0 / 233.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.671e-06/0.002995, allocations: 4.859 kB / 233.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.002995, allocations: 0 / 233.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.003124, allocations: 64 / 233.1 MB, free: 4.684 MB / 234.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.751e-05/0.003191, allocations: 84.36 kB / 233.2 MB, free: 4.594 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.454e-05/0.003246, allocations: 12.84 kB / 233.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.003249, allocations: 4 kB / 233.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.003258, allocations: 8.797 kB / 233.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.338e-05/0.003311, allocations: 15.94 kB / 233.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.003494, allocations: 100.5 kB / 233.4 MB, free: 4.422 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.003524, allocations: 55.55 kB / 233.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.341e-05/0.003537, allocations: 4 kB / 233.4 MB, free: 4.344 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.003572, allocations: 47.38 kB / 233.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003572, allocations: 0 / 233.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of Templates: time 0.001659/0.005231, allocations: 243.1 kB / 233.7 MB, free: 4.062 MB / 234.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.7689996464177966]