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.001008/0.001008, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001248/0.001248, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9503/0.9503, allocations: 158.6 MB / 185.2 MB, free: 2.805 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.02723/0.02723, allocations: 6.417 MB / 244 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.906e-06/2.906e-06, allocations: 0.5156 kB / 311.1 MB, free: 51.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.882e-05, allocations: 3.422 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001287/0.001306, allocations: 401.5 kB / 311.5 MB, free: 51.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001521/0.001458, allocations: 15.33 kB / 311.5 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.001477, allocations: 0 / 311.5 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.001493, allocations: 0 / 311.5 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.0015, allocations: 1.531 kB / 311.5 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.001625, allocations: 5.531 kB / 311.6 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.001668, allocations: 2.672 kB / 311.6 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.001709, allocations: 10.31 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.001748, allocations: 0.75 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.001801, allocations: 2.438 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.001815, allocations: 0.8125 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.001821, allocations: 0 / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.001835, allocations: 2.125 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.001851, allocations: 5.25 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.703e-05/0.001898, allocations: 0.9844 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0019, allocations: 0.8125 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.001901, allocations: 1.719 kB / 311.6 MB, free: 51.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.001905, allocations: 0.9062 kB / 311.6 MB, free: 51.58 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.0001996/0.002105, allocations: 337.7 kB / 311.9 MB, free: 51.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.00215, allocations: 14.64 kB / 311.9 MB, free: 51.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.002175, allocations: 1.875 kB / 311.9 MB, free: 51.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.027e-05/0.002215, allocations: 108 kB / 312 MB, free: 51.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.002226, allocations: 3.594 kB / 312 MB, free: 51.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.002244, allocations: 2.281 kB / 312 MB, free: 51.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.906e-05/0.002303, allocations: 32.61 kB / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002309, allocations: 192 / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.002314, allocations: 2.156 kB / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.002319, allocations: 1.844 kB / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-06/0.002329, allocations: 5.875 kB / 312.1 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.002499, allocations: 105.3 kB / 312.2 MB, free: 50.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/0.00253, allocations: 29.97 kB / 312.2 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.036e-05/0.00254, allocations: 11.3 kB / 312.2 MB, free: 50.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.002546, allocations: 1.125 kB / 312.2 MB, free: 50.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.002563, allocations: 38.77 kB / 312.3 MB, free: 50.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002563, allocations: 1.156 kB / 312.3 MB, free: 50.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.279e-05/0.002656, allocations: 37.28 kB / 312.3 MB, free: 50.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.002673, allocations: 51.41 kB / 312.3 MB, free: 50.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.316e-05/0.002696, allocations: 144.8 kB / 312.5 MB, free: 50.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.002701, allocations: 25.7 kB / 312.5 MB, free: 50.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.191e-05/0.002713, allocations: 126.9 kB / 312.6 MB, free: 50.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.002735, allocations: 10.77 kB / 312.6 MB, free: 50.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.002761, allocations: 18.89 kB / 312.7 MB, free: 50.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.002807, allocations: 497.2 kB / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.002814, allocations: 1.031 kB / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.002822, allocations: 3.359 kB / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.002854, allocations: 19.94 kB / 313.2 MB, free: 49.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.002856, allocations: 0 / 313.2 MB, free: 49.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.532e-05/0.002902, allocations: 37.31 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.002914, allocations: 7.266 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.002919, allocations: 0 / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00293, allocations: 0 / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.002954, allocations: 3.375 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.002957, allocations: 0.7031 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.002969, allocations: 5.188 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.002972, allocations: 4.031 kB / 313.2 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.827e-05/0.00301, allocations: 159.7 kB / 313.4 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.003017, allocations: 2.609 kB / 313.4 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.003034, allocations: 7.734 kB / 313.4 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.003035, allocations: 0 / 313.4 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.003037, allocations: 1.375 kB / 313.4 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.003039, allocations: 0 / 313.4 MB, free: 49.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.00312, allocations: 103.9 kB / 313.5 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.003121, allocations: 1.281 kB / 313.5 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.003138, allocations: 2.859 kB / 313.5 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.00314, allocations: 4 kB / 313.5 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.003148, allocations: 1.625 kB / 313.5 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.00315, allocations: 4 kB / 313.5 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.003151, allocations: 0.8906 kB / 313.5 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.514e-05/0.003226, allocations: 75.94 kB / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.003232, allocations: 2.031 kB / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.00324, allocations: 1.156 kB / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.003248, allocations: 0 / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.003259, allocations: 2.391 kB / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.003261, allocations: 2.25 kB / 313.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.199e-05/0.003273, allocations: 127.2 kB / 313.7 MB, free: 49.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003273, allocations: 1.562 kB / 313.7 MB, free: 49.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.003442, allocations: 0 / 313.7 MB, free: 49.31 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.104e-05/0.003503, allocations: 94.72 kB / 313.8 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.346e-05/0.003556, allocations: 13.27 kB / 313.8 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.003558, allocations: 1.281 kB / 313.8 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.003565, allocations: 9.641 kB / 313.8 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.0001218/0.003687, allocations: 5.188 kB / 313.8 MB, free: 49.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.003867, allocations: 106 kB / 313.9 MB, free: 49.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.888e-05/0.003885, allocations: 57.66 kB / 314 MB, free: 49.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.003904, allocations: 0.5625 kB / 314 MB, free: 49.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.003927, allocations: 71.42 kB / 314.1 MB, free: 48.94 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.003928, allocations: 0 / 314.1 MB, free: 48.94 MB / 282.7 MB Notification: Performance of Templates: time 0.001787/0.005715, allocations: 251.4 kB / 314.3 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.6676421188749373]