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.001393/0.001393, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001525/0.001525, allocations: 216.4 kB / 23.01 MB, free: 4.566 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.397/1.397, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.1172/0.1172, allocations: 8.19 MB / 294.2 MB, free: 13.75 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.002381/0.002381, allocations: 75.64 kB / 411.7 MB, free: 46.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0648/0.06718, allocations: 50.94 MB / 462.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001447/0.06862, allocations: 381.3 kB / 463 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.06878, allocations: 27.89 kB / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.06879, allocations: 4 kB / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.0688, allocations: 0 / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.06881, allocations: 0 / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.06893, allocations: 4 kB / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.06898, allocations: 3.938 kB / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.06903, allocations: 0 / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.06904, allocations: 4 kB / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.06908, allocations: 0 / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.06909, allocations: 0 / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-06/0.0691, allocations: 0 / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.06913, allocations: 7.969 kB / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.06916, allocations: 7.938 kB / 463 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.478e-05/0.06921, allocations: 0 / 463 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.06921, allocations: 4 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06921, allocations: 4 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.06922, allocations: 3.938 kB / 463 MB, free: 12.59 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.0002949/0.06951, allocations: 230.5 kB / 463.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.06955, allocations: 11.98 kB / 463.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.06957, allocations: 0.9375 kB / 463.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/0.06966, allocations: 106.5 kB / 463.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.06967, allocations: 12.36 kB / 463.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.06969, allocations: 384 / 463.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.06977, allocations: 30.27 kB / 463.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.06978, allocations: 192 / 463.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.06979, allocations: 3.938 kB / 463.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.0698, allocations: 4 kB / 463.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.381e-05/0.06981, allocations: 0 / 463.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.07009, allocations: 120.8 kB / 463.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.07014, allocations: 30.55 kB / 463.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.07015, allocations: 4.859 kB / 463.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.07016, allocations: 0 / 463.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.07019, allocations: 30.56 kB / 463.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.07019, allocations: 0 / 463.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.07031, allocations: 45.62 kB / 463.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.07035, allocations: 51.41 kB / 463.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.0704, allocations: 89.98 kB / 463.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.07042, allocations: 33.7 kB / 463.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.07046, allocations: 80.14 kB / 463.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.07048, allocations: 7.891 kB / 463.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.07051, allocations: 13.72 kB / 463.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.07064, allocations: 310.8 kB / 464.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.07068, allocations: 8 kB / 464.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.07069, allocations: 3.984 kB / 464.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.07071, allocations: 12.92 kB / 464.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.07072, allocations: 3.938 kB / 464.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.498e-05/0.07078, allocations: 45.58 kB / 464.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.0708, allocations: 4 kB / 464.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.0708, allocations: 0 / 464.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.07081, allocations: 7.938 kB / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.07084, allocations: 0 / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.07084, allocations: 0 / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.07085, allocations: 0 / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.07086, allocations: 4 kB / 464.3 MB, free: 11.12 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.064e-05/0.07093, allocations: 113.9 kB / 464.4 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.07093, allocations: 0 / 464.4 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.07095, allocations: 10.89 kB / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.07095, allocations: 0 / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.07096, allocations: 0 / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.07096, allocations: 4 kB / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.0711, allocations: 124.8 kB / 464.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.0711, allocations: 0 / 464.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.07112, allocations: 4 kB / 464.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.07112, allocations: 8 kB / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.07113, allocations: 3.938 kB / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.07113, allocations: 0 / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.07113, allocations: 0 / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.07124, allocations: 65.06 kB / 464.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-06/0.07124, allocations: 0 / 464.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.07125, allocations: 3.938 kB / 464.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.07127, allocations: 8.125 kB / 464.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-06/0.07127, allocations: 0 / 464.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.07128, allocations: 0 / 464.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.07131, allocations: 75.28 kB / 464.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07131, allocations: 0 / 464.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.0715, allocations: 0 / 464.7 MB, free: 10.63 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 9.115e-05/0.07159, allocations: 95.25 kB / 464.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.07166, allocations: 11.98 kB / 464.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.07166, allocations: 4.062 kB / 464.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.07168, allocations: 7.938 kB / 464.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.07181, allocations: 0 / 464.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.07207, allocations: 131.2 kB / 465 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.07239, allocations: 0.669 MB / 465.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.07241, allocations: 7.438 kB / 465.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.07241, allocations: 0 / 465.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of Templates: time 0.001741/0.07415, allocations: 391.7 kB / 466 MB, free: 9.258 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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.763860129052773] Failed to read output from testmodel.py, exit status != 0: 0.08167467289604247 0.098436121 0.025891654 Calling exit ...