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.0009286/0.0009286, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009557/0.0009557, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8903/0.8903, allocations: 158.6 MB / 186 MB, free: 2.789 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.03911/0.03911, allocations: 6.407 MB / 244.7 MB, free: 8.551 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.234e-06/2.234e-06, allocations: 0 / 311.9 MB, free: 51.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.518e-05, allocations: 5.531 kB / 311.9 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001179/0.001204, allocations: 402.9 kB / 312.3 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.001335, allocations: 13.17 kB / 312.3 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.001352, allocations: 1.594 kB / 312.3 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.001366, allocations: 1.906 kB / 312.3 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.001373, allocations: 0 / 312.3 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.001501, allocations: 6.953 kB / 312.3 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.001548, allocations: 1.531 kB / 312.3 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.001588, allocations: 4.406 kB / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.001621, allocations: 3.609 kB / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.00167, allocations: 5.219 kB / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.001684, allocations: 0 / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.001691, allocations: 0 / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.001706, allocations: 2.797 kB / 312.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.001723, allocations: 3.938 kB / 312.4 MB, free: 51.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.591e-05/0.001768, allocations: 3.391 kB / 312.4 MB, free: 51.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00177, allocations: 0 / 312.4 MB, free: 51.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001771, allocations: 0.7188 kB / 312.4 MB, free: 51.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.001775, allocations: 0 / 312.4 MB, free: 51.57 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.0001862/0.001961, allocations: 335.8 kB / 312.7 MB, free: 51.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.001998, allocations: 14.59 kB / 312.7 MB, free: 51.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.002022, allocations: 3.25 kB / 312.7 MB, free: 51.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.754e-05/0.00206, allocations: 110.7 kB / 312.8 MB, free: 51.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.002068, allocations: 384 / 312.8 MB, free: 51.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.002083, allocations: 5.438 kB / 312.8 MB, free: 51.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.311e-05/0.002136, allocations: 34.77 kB / 312.9 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.002142, allocations: 192 / 312.9 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.002148, allocations: 384 / 312.9 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.002151, allocations: 2.375 kB / 312.9 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-06/0.002161, allocations: 5.797 kB / 312.9 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.002313, allocations: 101.2 kB / 313 MB, free: 50.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.884e-05/0.002342, allocations: 31.08 kB / 313 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.008e-05/0.002352, allocations: 13.48 kB / 313 MB, free: 50.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.002357, allocations: 1.344 kB / 313 MB, free: 50.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.002372, allocations: 36.75 kB / 313.1 MB, free: 50.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002372, allocations: 0 / 313.1 MB, free: 50.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.038e-05/0.002453, allocations: 36.41 kB / 313.1 MB, free: 50.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.00247, allocations: 52.78 kB / 313.1 MB, free: 50.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.609e-05/0.002486, allocations: 143 kB / 313.3 MB, free: 50.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-06/0.00249, allocations: 25.7 kB / 313.3 MB, free: 50.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.002501, allocations: 129.4 kB / 313.4 MB, free: 50.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.002523, allocations: 6.172 kB / 313.4 MB, free: 50.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.002545, allocations: 18.56 kB / 313.5 MB, free: 50.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.002587, allocations: 499.3 kB / 313.9 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.002594, allocations: 5.609 kB / 313.9 MB, free: 49.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.0026, allocations: 1.781 kB / 313.9 MB, free: 49.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.002634, allocations: 20.09 kB / 314 MB, free: 49.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.002636, allocations: 0 / 314 MB, free: 49.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.806e-05/0.002674, allocations: 38.89 kB / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.002688, allocations: 9.062 kB / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.002692, allocations: 0 / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.002699, allocations: 2.891 kB / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.002725, allocations: 1.938 kB / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.002728, allocations: 5 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-06/0.002737, allocations: 0 / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.00274, allocations: 0.8438 kB / 314 MB, free: 49.82 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 3.646e-05/0.002776, allocations: 164 kB / 314.2 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-06/0.002781, allocations: 0 / 314.2 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.002795, allocations: 4.156 kB / 314.2 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.002797, allocations: 1.125 kB / 314.2 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.002799, allocations: 1.406 kB / 314.2 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.002801, allocations: 0 / 314.2 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.352e-05/0.002875, allocations: 99.31 kB / 314.3 MB, free: 49.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.002876, allocations: 1.781 kB / 314.3 MB, free: 49.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.00289, allocations: 6.625 kB / 314.3 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.002891, allocations: 0 / 314.3 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.002899, allocations: 4 kB / 314.3 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.002902, allocations: 6.203 kB / 314.3 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.002903, allocations: 0 / 314.3 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.195e-05/0.002975, allocations: 75.44 kB / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-06/0.002981, allocations: 2.328 kB / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.002988, allocations: 0 / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.002994, allocations: 3.641 kB / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.003004, allocations: 0 / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.003006, allocations: 2.453 kB / 314.4 MB, free: 49.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.455e-05/0.003021, allocations: 119.2 kB / 314.5 MB, free: 49.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003021, allocations: 4.062 kB / 314.5 MB, free: 49.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.003133, allocations: 1.312 kB / 314.5 MB, free: 49.32 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.456e-05/0.003198, allocations: 96.36 kB / 314.6 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.937e-05/0.003247, allocations: 17.39 kB / 314.6 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.003248, allocations: 0 / 314.6 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.003256, allocations: 11.47 kB / 314.6 MB, free: 49.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.003358, allocations: 5.281 kB / 314.6 MB, free: 49.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.003545, allocations: 101.1 kB / 314.7 MB, free: 49.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.669e-05/0.003562, allocations: 57.95 kB / 314.8 MB, free: 49.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.00358, allocations: 4.734 kB / 314.8 MB, free: 49.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.003601, allocations: 67.52 kB / 314.9 MB, free: 48.95 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.003602, allocations: 0 / 314.9 MB, free: 48.95 MB / 282.7 MB Notification: Performance of Templates: time 0.00167/0.005272, allocations: 252.7 kB / 315.1 MB, free: 48.92 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.80833956412971]