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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 113.8 kB / 17.08 MB, free: 5.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 194.2 kB / 20.03 MB, free: 3.043 MB / 14.72 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.392/1.392, allocations: 205.1 MB / 227.9 MB, free: 4.363 MB / 174.1 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.09635/0.09635, allocations: 8.125 MB / 285.4 MB, free: 10.96 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 396 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2327, allocations: 48.3 MB / 444.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001322/0.234, allocations: 386 kB / 444.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.2342, allocations: 14.8 kB / 444.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.2342, allocations: 0 / 444.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.2342, allocations: 5.094 kB / 444.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.2342, allocations: 0 / 444.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.2344, allocations: 9.125 kB / 444.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.2344, allocations: 1.125 kB / 444.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.2345, allocations: 6.672 kB / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.403e-05/0.2345, allocations: 1.094 kB / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.2345, allocations: 1.094 kB / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2345, allocations: 0 / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.2346, allocations: 1.156 kB / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2346, allocations: 3.938 kB / 444.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.2346, allocations: 1.031 kB / 444.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.707e-05/0.2347, allocations: 4.734 kB / 444.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2347, allocations: 1.125 kB / 444.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2347, allocations: 0 / 444.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.2347, allocations: 4 kB / 444.8 MB, free: 8.484 MB / 318.1 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.0002283/0.2349, allocations: 313.5 kB / 445.1 MB, free: 8.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2349, allocations: 10.16 kB / 445.1 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.235, allocations: 1.688 kB / 445.1 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.235, allocations: 162.2 kB / 445.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.235, allocations: 4.312 kB / 445.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2351, allocations: 1.656 kB / 445.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.2352, allocations: 38.2 kB / 445.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2352, allocations: 192 / 445.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2352, allocations: 11.92 kB / 445.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2352, allocations: 0 / 445.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.2352, allocations: 3.062 kB / 445.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.2354, allocations: 153.5 kB / 445.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.68e-05/0.2355, allocations: 16.02 kB / 445.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.2355, allocations: 7.016 kB / 445.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-06/0.2355, allocations: 0 / 445.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.2355, allocations: 39.78 kB / 445.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.2355, allocations: 0 / 445.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.2356, allocations: 40.97 kB / 445.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.2356, allocations: 52.78 kB / 445.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.604e-05/0.2357, allocations: 90.42 kB / 445.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.2357, allocations: 25.7 kB / 445.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.42e-05/0.2357, allocations: 82.03 kB / 445.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2357, allocations: 7.609 kB / 445.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.2357, allocations: 25.19 kB / 445.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.2358, allocations: 313 kB / 446.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.2358, allocations: 1.344 kB / 446.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.2358, allocations: 6 kB / 446.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.2358, allocations: 13.31 kB / 446.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2358, allocations: 1.438 kB / 446.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.529e-05/0.2359, allocations: 34.45 kB / 446.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2359, allocations: 8.438 kB / 446.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2359, allocations: 1.062 kB / 446.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2359, allocations: 4.5 kB / 446.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.387e-05/0.236, allocations: 4.031 kB / 446.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.236, allocations: 0 / 446.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.236, allocations: 1.062 kB / 446.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.236, allocations: 5.125 kB / 446.2 MB, free: 6.898 MB / 318.1 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.529e-05/0.236, allocations: 108.2 kB / 446.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.2361, allocations: 4.688 kB / 446.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.2361, allocations: 12.16 kB / 446.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2361, allocations: 0.9375 kB / 446.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2361, allocations: 1.125 kB / 446.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2361, allocations: 0 / 446.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.2362, allocations: 149.2 kB / 446.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2362, allocations: 1.062 kB / 446.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.2362, allocations: 1.125 kB / 446.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2362, allocations: 5.688 kB / 446.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.2362, allocations: 3.938 kB / 446.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2362, allocations: 1.125 kB / 446.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2362, allocations: 0.6094 kB / 446.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.183e-05/0.2363, allocations: 64.34 kB / 446.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.2363, allocations: 77.67 kB / 446.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2364, allocations: 5.484 kB / 446.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.2364, allocations: 4 kB / 446.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.2364, allocations: 1.578 kB / 446.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2364, allocations: 1.672 kB / 446.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.432e-05/0.2364, allocations: 89.14 kB / 446.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2364, allocations: 0 / 446.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001725/0.2366, allocations: 1.031 kB / 446.7 MB, free: 6.32 MB / 318.1 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 5.1e-05/0.2367, allocations: 98.69 kB / 446.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.2367, allocations: 6.562 kB / 446.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2367, allocations: 0 / 446.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.2368, allocations: 2.922 kB / 446.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2369, allocations: 1.219 kB / 446.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.2371, allocations: 126.3 kB / 447 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.659e-05/0.2372, allocations: 0.6719 MB / 447.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2372, allocations: 8.75 kB / 447.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2372, allocations: 0 / 447.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of Templates: time 0.0016/0.2388, allocations: 391.4 kB / 448 MB, free: 5.363 MB / 318.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.307084066094831] Failed to read output from testmodel.py, exit status != 0: 0.24538717488758266 0.256616034 0.019158773 Calling exit ...