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.00138/0.00138, allocations: 115.7 kB / 17.13 MB, free: 5.941 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.001345/0.001345, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.483/1.483, allocations: 207.6 MB / 230.5 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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.1123/0.1123, allocations: 8.203 MB / 290.5 MB, free: 8.152 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.002358/0.002358, allocations: 67.91 kB / 406.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2817, allocations: 50.89 MB / 457.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001678/0.2834, allocations: 400.1 kB / 457.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.2836, allocations: 15.64 kB / 457.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.2836, allocations: 0 / 457.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.2836, allocations: 1.094 kB / 457.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.2836, allocations: 0 / 457.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2838, allocations: 9.125 kB / 457.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.2838, allocations: 1.156 kB / 457.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.2839, allocations: 2.156 kB / 457.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.2839, allocations: 8 kB / 457.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2839, allocations: 1.125 kB / 457.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2839, allocations: 0 / 457.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.2839, allocations: 1.25 kB / 457.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.284, allocations: 3.938 kB / 457.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.284, allocations: 1.094 kB / 457.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.13e-05/0.2841, allocations: 7.969 kB / 457.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2841, allocations: 1.094 kB / 457.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2841, allocations: 0 / 457.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.2841, allocations: 0 / 457.7 MB, free: 3.605 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.0002751/0.2844, allocations: 314.6 kB / 458 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2844, allocations: 10.06 kB / 458 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.2844, allocations: 0.9375 kB / 458 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.18e-05/0.2845, allocations: 169.4 kB / 458.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2845, allocations: 384 / 458.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2845, allocations: 1.406 kB / 458.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.2846, allocations: 28.61 kB / 458.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2846, allocations: 4.125 kB / 458.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2846, allocations: 3.938 kB / 458.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2846, allocations: 5.188 kB / 458.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.2847, allocations: 5.094 kB / 458.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.2849, allocations: 155.1 kB / 458.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.2849, allocations: 15.83 kB / 458.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.2849, allocations: 7.078 kB / 458.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.2849, allocations: 0 / 458.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.285, allocations: 35.38 kB / 458.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.285, allocations: 0 / 458.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.2851, allocations: 46.72 kB / 458.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.2851, allocations: 52.62 kB / 458.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.796e-05/0.2852, allocations: 89.86 kB / 458.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.2852, allocations: 25.7 kB / 458.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.103e-05/0.2852, allocations: 81.17 kB / 458.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.2852, allocations: 7.609 kB / 458.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.2852, allocations: 21.09 kB / 458.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.2853, allocations: 318.8 kB / 459 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.2853, allocations: 1.25 kB / 459 MB, free: 2.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.2853, allocations: 2.312 kB / 459 MB, free: 2.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.2853, allocations: 17.12 kB / 459.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2853, allocations: 0 / 459.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.81e-05/0.2854, allocations: 37.67 kB / 459.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2854, allocations: 5.625 kB / 459.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2854, allocations: 4.094 kB / 459.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2854, allocations: 3.938 kB / 459.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.76e-05/0.2854, allocations: 3.312 kB / 459.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2854, allocations: 0 / 459.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.2854, allocations: 1.25 kB / 459.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2855, allocations: 0 / 459.1 MB, free: 2.008 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 4.397e-05/0.2855, allocations: 111.8 kB / 459.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.2855, allocations: 4.844 kB / 459.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.2855, allocations: 7.062 kB / 459.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2855, allocations: 5.438 kB / 459.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2855, allocations: 0 / 459.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2855, allocations: 0 / 459.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.2856, allocations: 151.1 kB / 459.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2856, allocations: 0 / 459.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.2856, allocations: 6.406 kB / 459.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2857, allocations: 0 / 459.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2857, allocations: 3.938 kB / 459.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2857, allocations: 0.8438 kB / 459.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2857, allocations: 0 / 459.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.2857, allocations: 66.03 kB / 459.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.2858, allocations: 77.11 kB / 459.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2858, allocations: 5.062 kB / 459.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.2858, allocations: 0 / 459.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.2858, allocations: 1.031 kB / 459.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2858, allocations: 5.156 kB / 459.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.2858, allocations: 77.11 kB / 459.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2858, allocations: 96 / 459.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.286, allocations: 5.062 kB / 459.6 MB, free: 1.426 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 6.554e-05/0.2861, allocations: 98.06 kB / 459.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.523e-05/0.2862, allocations: 17.23 kB / 459.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.2862, allocations: 0 / 459.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.2862, allocations: 2.688 kB / 459.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2863, allocations: 1.75 kB / 459.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.2866, allocations: 133.7 kB / 459.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.129e-05/0.2867, allocations: 0.6702 MB / 460.6 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.2867, allocations: 8.812 kB / 460.6 MB, free: 480 kB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2867, allocations: 0 / 460.6 MB, free: 480 kB / 318.1 MB Notification: Performance of Templates: time 0.001999/0.2887, allocations: 384.6 kB / 460.9 MB, free: 292 kB / 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: 7.075005939928815] Failed to read output from testmodel.py, exit status != 0: 0.29691136186011136 0.310486574 0.023587027 Calling exit ...