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.001319/0.001319, allocations: 77.23 kB / 19.76 MB, free: 2.035 MB / 14.72 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.001382/0.001382, allocations: 160.1 kB / 23.01 MB, free: 4.938 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.309/1.309, allocations: 158.6 MB / 184.8 MB, free: 6.18 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.05031/0.05031, allocations: 6.416 MB / 243.4 MB, free: 12.72 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002636/0.002636, allocations: 79.88 kB / 360.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1025, allocations: 50.91 MB / 411.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001621/0.1041, allocations: 397.2 kB / 412.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.1042, allocations: 11.98 kB / 412.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1043, allocations: 0 / 412.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.1043, allocations: 0 / 412.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.1043, allocations: 0 / 412.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1044, allocations: 7.938 kB / 412.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.1044, allocations: 0 / 412.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1045, allocations: 7.922 kB / 412.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.1045, allocations: 12 kB / 412.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.1046, allocations: 0 / 412.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1046, allocations: 0 / 412.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.1046, allocations: 0 / 412.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1046, allocations: 3.984 kB / 412.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1046, allocations: 0 / 412.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.172e-05/0.1047, allocations: 7.938 kB / 412.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1047, allocations: 0 / 412.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1047, allocations: 0 / 412.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1047, allocations: 0 / 412.1 MB, free: 7.742 MB / 334.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.0003154/0.105, allocations: 234.5 kB / 412.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.105, allocations: 15.98 kB / 412.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.105, allocations: 0.9375 kB / 412.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.1051, allocations: 110.5 kB / 412.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1051, allocations: 384 / 412.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1052, allocations: 384 / 412.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.1053, allocations: 30.27 kB / 412.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1053, allocations: 4.125 kB / 412.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1053, allocations: 3.938 kB / 412.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1053, allocations: 0 / 412.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.1053, allocations: 3.984 kB / 412.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1056, allocations: 105.3 kB / 412.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.1056, allocations: 18.58 kB / 412.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.1056, allocations: 8.844 kB / 412.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1056, allocations: 4.094 kB / 412.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1057, allocations: 30.56 kB / 412.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1057, allocations: 0 / 412.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.1058, allocations: 45.56 kB / 412.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1058, allocations: 55.41 kB / 412.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.1059, allocations: 89.86 kB / 412.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1059, allocations: 25.7 kB / 412.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.106, allocations: 84.27 kB / 413 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.106, allocations: 3.953 kB / 413 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.106, allocations: 13.72 kB / 413 MB, free: 6.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1062, allocations: 318.8 kB / 413.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.1062, allocations: 0 / 413.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.1062, allocations: 4 kB / 413.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.1062, allocations: 12.8 kB / 413.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1062, allocations: 0 / 413.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.363e-05/0.1063, allocations: 37.7 kB / 413.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1063, allocations: 11.97 kB / 413.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1063, allocations: 4 kB / 413.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1063, allocations: 0 / 413.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.1064, allocations: 11.92 kB / 413.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1064, allocations: 0 / 413.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.1064, allocations: 0 / 413.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1064, allocations: 4 kB / 413.4 MB, free: 6.301 MB / 334.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 7.679e-05/0.1064, allocations: 105.8 kB / 413.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.1065, allocations: 4 kB / 413.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.1065, allocations: 6.953 kB / 413.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1065, allocations: 3.938 kB / 413.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1065, allocations: 12 kB / 413.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1065, allocations: 0 / 413.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1066, allocations: 101.3 kB / 413.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1066, allocations: 0 / 413.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.1066, allocations: 3.938 kB / 413.6 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1067, allocations: 4 kB / 413.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1067, allocations: 0 / 413.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1067, allocations: 0 / 413.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1067, allocations: 3.938 kB / 413.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1068, allocations: 61.12 kB / 413.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.1068, allocations: 4.094 kB / 413.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-06/0.1068, allocations: 4.031 kB / 413.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.1068, allocations: 0 / 413.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.1068, allocations: 3.938 kB / 413.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1068, allocations: 0 / 413.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.1068, allocations: 75.28 kB / 413.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1068, allocations: 0 / 413.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.107, allocations: 4 kB / 413.8 MB, free: 5.852 MB / 334.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 8.025e-05/0.1071, allocations: 95.23 kB / 413.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.1072, allocations: 15.94 kB / 413.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1072, allocations: 4 kB / 413.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-06/0.1072, allocations: 0 / 413.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1073, allocations: 0 / 413.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.1076, allocations: 105.5 kB / 414 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.1076, allocations: 55.36 kB / 414.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.417e-05/0.1076, allocations: 3.938 kB / 414.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.1076, allocations: 8.5 kB / 414.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1076, allocations: 128 / 414.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of Templates: time 0.002194/0.1098, allocations: 208.6 kB / 414.3 MB, free: 5.309 MB / 334.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 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.225766478921287] Failed to read output from testmodel.py, exit status != 0: 0.11781834298744798 0.14070989499999995 0.031977766000000005 Calling exit ...