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.0009582/0.0009582, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00108/0.00108, allocations: 173 kB / 23.49 MB, free: 1.055 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.8836/0.8836, allocations: 158.6 MB / 185.3 MB, free: 2.934 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.02833/0.02833, allocations: 6.405 MB / 244 MB, free: 8.789 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 3.076e-06/3.076e-06, allocations: 0 / 310.7 MB, free: 52.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.108e-05, allocations: 4.547 kB / 310.7 MB, free: 52.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001573/0.001604, allocations: 406.2 kB / 311.1 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.001758, allocations: 16.19 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.001778, allocations: 1.219 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.001795, allocations: 0 / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.001802, allocations: 0 / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.001942, allocations: 1.281 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.001996, allocations: 1.188 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.002039, allocations: 5.672 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.002071, allocations: 1.219 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.00212, allocations: 1.891 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.002138, allocations: 1.531 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.002146, allocations: 1.188 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002159, allocations: 0 / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.002178, allocations: 9.203 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.962e-05/0.002228, allocations: 1.188 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00223, allocations: 2.094 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002231, allocations: 0.8906 kB / 311.1 MB, free: 52.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002235, allocations: 0 / 311.1 MB, free: 52.04 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.0002147/0.002449, allocations: 335.5 kB / 311.5 MB, free: 51.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.002491, allocations: 14.05 kB / 311.5 MB, free: 51.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.002527, allocations: 10 kB / 311.5 MB, free: 51.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.053e-05/0.002577, allocations: 107.4 kB / 311.6 MB, free: 51.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.002589, allocations: 1.359 kB / 311.6 MB, free: 51.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.002609, allocations: 5.5 kB / 311.6 MB, free: 51.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.083e-05/0.00268, allocations: 31.2 kB / 311.6 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.002686, allocations: 192 / 311.6 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.002695, allocations: 1.562 kB / 311.6 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.002705, allocations: 7.125 kB / 311.6 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.002718, allocations: 6.094 kB / 311.7 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.002916, allocations: 112.6 kB / 311.8 MB, free: 51.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.002948, allocations: 29.28 kB / 311.8 MB, free: 51.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.002962, allocations: 12.84 kB / 311.8 MB, free: 51.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.002969, allocations: 1.094 kB / 311.8 MB, free: 51.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.002985, allocations: 35.41 kB / 311.8 MB, free: 51.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.002986, allocations: 0 / 311.8 MB, free: 51.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.003102, allocations: 36.47 kB / 311.9 MB, free: 51.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.003124, allocations: 56.5 kB / 311.9 MB, free: 51.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.127e-05/0.003145, allocations: 142.2 kB / 312.1 MB, free: 51.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.003151, allocations: 26.89 kB / 312.1 MB, free: 50.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.003164, allocations: 127.4 kB / 312.2 MB, free: 50.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.003189, allocations: 10.45 kB / 312.2 MB, free: 50.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.003212, allocations: 18.25 kB / 312.3 MB, free: 50.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.003257, allocations: 499.4 kB / 312.7 MB, free: 50.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.003267, allocations: 6.531 kB / 312.7 MB, free: 50.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-06/0.003273, allocations: 2.344 kB / 312.7 MB, free: 50.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.003308, allocations: 19.16 kB / 312.8 MB, free: 50.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00331, allocations: 0 / 312.8 MB, free: 50.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.478e-05/0.003355, allocations: 35.27 kB / 312.8 MB, free: 50.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.003367, allocations: 9.719 kB / 312.8 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.003372, allocations: 0 / 312.8 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.003387, allocations: 1.844 kB / 312.8 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.003411, allocations: 2.344 kB / 312.8 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.003417, allocations: 6.016 kB / 312.8 MB, free: 50.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.003431, allocations: 3.938 kB / 312.8 MB, free: 50.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.003436, allocations: 1.156 kB / 312.8 MB, free: 50.26 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.945e-05/0.003476, allocations: 162.3 kB / 313 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.003482, allocations: 5 kB / 313 MB, free: 50.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.003498, allocations: 3.844 kB / 313 MB, free: 50.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.0035, allocations: 1.062 kB / 313 MB, free: 50.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.003503, allocations: 0 / 313 MB, free: 50.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.003507, allocations: 1.781 kB / 313 MB, free: 50.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.456e-05/0.003582, allocations: 115.2 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.003583, allocations: 4.938 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.003601, allocations: 1.828 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.003602, allocations: 1.094 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.003613, allocations: 0 / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.003614, allocations: 1.062 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.003616, allocations: 4.078 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.003705, allocations: 80.58 kB / 313.2 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.00371, allocations: 2.125 kB / 313.2 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.00372, allocations: 0 / 313.2 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-06/0.003729, allocations: 2.625 kB / 313.2 MB, free: 49.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.003742, allocations: 6.312 kB / 313.2 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.003743, allocations: 1.25 kB / 313.2 MB, free: 49.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.109e-05/0.003754, allocations: 119.2 kB / 313.3 MB, free: 49.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003754, allocations: 0 / 313.3 MB, free: 49.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.003959, allocations: 1.25 kB / 313.3 MB, free: 49.73 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.464e-05/0.004024, allocations: 99.05 kB / 313.4 MB, free: 49.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.004094, allocations: 18.31 kB / 313.4 MB, free: 49.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.004095, allocations: 0 / 313.4 MB, free: 49.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.004103, allocations: 18.5 kB / 313.5 MB, free: 49.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.004246, allocations: 1.188 kB / 313.5 MB, free: 49.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.004474, allocations: 96.25 kB / 313.6 MB, free: 49.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.004502, allocations: 54.44 kB / 313.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.669e-05/0.004519, allocations: 1.125 kB / 313.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.004539, allocations: 9.531 kB / 313.6 MB, free: 49.42 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.00454, allocations: 0 / 313.6 MB, free: 49.42 MB / 282.7 MB Notification: Performance of Templates: time 0.001939/0.006478, allocations: 241.1 kB / 313.9 MB, free: 49.39 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.846692376071587]