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.001434/0.001434, allocations: 110 kB / 18.94 MB, free: 2.789 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.001728/0.001728, allocations: 193.5 kB / 22.23 MB, free: 5.23 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.506/1.506, allocations: 207.6 MB / 233 MB, free: 10.01 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.1171/0.1171, allocations: 8.193 MB / 293.4 MB, free: 13.68 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.002305/0.002305, allocations: 79.23 kB / 410.9 MB, free: 46.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1099, allocations: 50.91 MB / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001755/0.1116, allocations: 397.2 kB / 462.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002013/0.1118, allocations: 19.95 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1119, allocations: 0 / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1119, allocations: 0 / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.1119, allocations: 0 / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1121, allocations: 3.938 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.1121, allocations: 4 kB / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.1122, allocations: 4 kB / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1122, allocations: 0 / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.1123, allocations: 7.984 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1123, allocations: 0 / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.1123, allocations: 4 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.1123, allocations: 3.984 kB / 462.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1123, allocations: 3.938 kB / 462.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.2e-05/0.1124, allocations: 0 / 462.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1124, allocations: 0 / 462.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1124, allocations: 0 / 462.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1124, allocations: 0 / 462.2 MB, free: 12.61 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.0004121/0.1128, allocations: 234.5 kB / 462.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1129, allocations: 15.98 kB / 462.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.1129, allocations: 0.9375 kB / 462.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.113, allocations: 110.5 kB / 462.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.113, allocations: 4.312 kB / 462.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1131, allocations: 4.375 kB / 462.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1132, allocations: 26.27 kB / 462.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1132, allocations: 4.125 kB / 462.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1132, allocations: 7.938 kB / 462.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1132, allocations: 0 / 462.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.1132, allocations: 4 kB / 462.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1136, allocations: 124.8 kB / 462.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.1136, allocations: 14.58 kB / 462.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.1137, allocations: 8.953 kB / 462.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.1137, allocations: 0 / 462.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1137, allocations: 34.56 kB / 462.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1137, allocations: 0 / 462.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.1139, allocations: 45.56 kB / 462.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1139, allocations: 55.41 kB / 462.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.114, allocations: 89.86 kB / 463 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.114, allocations: 25.7 kB / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.114, allocations: 80.14 kB / 463.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1141, allocations: 7.891 kB / 463.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1141, allocations: 21.84 kB / 463.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1142, allocations: 314.8 kB / 463.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.1143, allocations: 0 / 463.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.1143, allocations: 7.984 kB / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.1143, allocations: 16.8 kB / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1143, allocations: 0 / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.994e-05/0.1144, allocations: 37.69 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1144, allocations: 4.094 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1144, allocations: 4 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1144, allocations: 3.938 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.993e-05/0.1144, allocations: 4 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1144, allocations: 0 / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1145, allocations: 0 / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1145, allocations: 0 / 463.5 MB, free: 11.14 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 0.0001066/0.1146, allocations: 117.8 kB / 463.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.1146, allocations: 0 / 463.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.1146, allocations: 10.89 kB / 463.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1146, allocations: 4 kB / 463.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1146, allocations: 0 / 463.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1146, allocations: 0 / 463.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1148, allocations: 128.8 kB / 463.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1148, allocations: 0 / 463.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.1148, allocations: 3.938 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1148, allocations: 3.938 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1148, allocations: 3.938 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1148, allocations: 4 kB / 463.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1148, allocations: 0 / 463.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1149, allocations: 65.12 kB / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.1149, allocations: 0 / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.115, allocations: 3.938 kB / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.115, allocations: 0 / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.115, allocations: 0 / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.115, allocations: 4.031 kB / 463.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.115, allocations: 75.28 kB / 463.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.115, allocations: 4.094 kB / 463.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.1152, allocations: 0 / 463.9 MB, free: 10.64 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 0.0001181/0.1153, allocations: 99.25 kB / 464 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1154, allocations: 15.86 kB / 464 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1154, allocations: 0 / 464 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.1155, allocations: 0 / 464 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1156, allocations: 4 kB / 464 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1159, allocations: 101.7 kB / 464.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1163, allocations: 0.6729 MB / 464.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.1164, allocations: 0 / 464.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1164, allocations: 7.438 kB / 464.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1164, allocations: 0 / 464.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of Templates: time 0.002741/0.1192, allocations: 223.5 kB / 465 MB, free: 9.473 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: 4.963061564601958] Failed to read output from testmodel.py, exit status != 0: 0.12800067849457264 0.14358142999999995 0.027887787 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0af51897b0>