Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.00137/0.00137, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.001463/0.001463, allocations: 156.2 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002753/0.002753, allocations: 424.1 kB / 260.2 MB, free: 236 kB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 59.91 kB / 382.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1217, allocations: 53.49 MB / 436.3 MB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.003528/0.1253, allocations: 1.615 MB / 437.9 MB, free: 14.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000448/0.1257, allocations: 103.6 kB / 438 MB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.1258, allocations: 0 / 438 MB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.1259, allocations: 11.86 kB / 438 MB, free: 14.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.126, allocations: 27.72 kB / 438 MB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1262, allocations: 31.95 kB / 438.1 MB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1264, allocations: 107.5 kB / 438.2 MB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1265, allocations: 39.92 kB / 438.2 MB, free: 13.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1267, allocations: 39.86 kB / 438.2 MB, free: 13.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1268, allocations: 47.69 kB / 438.3 MB, free: 13.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.1268, allocations: 8 kB / 438.3 MB, free: 13.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.1269, allocations: 8 kB / 438.3 MB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1269, allocations: 19.94 kB / 438.3 MB, free: 13.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.127, allocations: 35.86 kB / 438.4 MB, free: 13.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1272, allocations: 115.5 kB / 438.5 MB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1272, allocations: 0 / 438.5 MB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1272, allocations: 0 / 438.5 MB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1272, allocations: 3.938 kB / 438.5 MB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006158/0.1278, allocations: 322.2 kB / 438.8 MB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1278, allocations: 12.03 kB / 438.8 MB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1279, allocations: 8.891 kB / 438.8 MB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1281, allocations: 134.4 kB / 438.9 MB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1281, allocations: 12.5 kB / 439 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1282, allocations: 4.375 kB / 439 MB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1284, allocations: 102 kB / 439.1 MB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1284, allocations: 0 / 439.1 MB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1284, allocations: 8 kB / 439.1 MB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1284, allocations: 4 kB / 439.1 MB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1286, allocations: 51.97 kB / 439.1 MB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.1292, allocations: 312.3 kB / 439.4 MB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1294, allocations: 90.55 kB / 439.5 MB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.1295, allocations: 41 kB / 439.6 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1295, allocations: 4 kB / 439.6 MB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1295, allocations: 34.5 kB / 439.6 MB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1295, allocations: 0 / 439.6 MB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001314/0.1308, allocations: 0.5339 MB / 440.1 MB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1309, allocations: 55.41 kB / 440.2 MB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.131, allocations: 114.1 kB / 440.3 MB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.131, allocations: 29.64 kB / 440.3 MB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.1311, allocations: 108 kB / 440.4 MB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.1312, allocations: 59.58 kB / 440.5 MB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.1312, allocations: 37.64 kB / 440.5 MB, free: 11.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1314, allocations: 314.8 kB / 440.8 MB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.1315, allocations: 39.98 kB / 440.9 MB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1316, allocations: 62.55 kB / 440.9 MB, free: 10.97 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.1322, allocations: 214.2 kB / 441.1 MB, free: 10.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1322, allocations: 4 kB / 441.1 MB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000244/0.1325, allocations: 137.8 kB / 441.3 MB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1325, allocations: 7.984 kB / 441.3 MB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1325, allocations: 4 kB / 441.3 MB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1325, allocations: 4.031 kB / 441.3 MB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1327, allocations: 39.92 kB / 441.3 MB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1328, allocations: 4 kB / 441.3 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.1328, allocations: 4 kB / 441.3 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1328, allocations: 4 kB / 441.3 MB, free: 10.55 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * 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.0001446/0.133, allocations: 129.8 kB / 441.5 MB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.133, allocations: 11.89 kB / 441.5 MB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.1331, allocations: 12.78 kB / 441.5 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1331, allocations: 4 kB / 441.5 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1331, allocations: 4 kB / 441.5 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1331, allocations: 0 / 441.5 MB, free: 10.38 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.1339, allocations: 433.3 kB / 441.9 MB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1339, allocations: 0 / 441.9 MB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.134, allocations: 31.92 kB / 442 MB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1341, allocations: 20.84 kB / 442 MB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1341, allocations: 11.98 kB / 442 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.1355, allocations: 1.245 MB / 443.2 MB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1355, allocations: 0 / 443.2 MB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.1359, allocations: 302.7 kB / 443.5 MB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.1359, allocations: 7.984 kB / 443.5 MB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1359, allocations: 11.94 kB / 443.5 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.136, allocations: 0 / 443.5 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.1361, allocations: 20.19 kB / 443.6 MB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1361, allocations: 12 kB / 443.6 MB, free: 8.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.1362, allocations: 95.16 kB / 443.7 MB, free: 8.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1362, allocations: 0 / 443.7 MB, free: 8.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1365, allocations: 28 kB / 443.7 MB, free: 7.992 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.1366, allocations: 103.2 kB / 443.8 MB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.1369, allocations: 99.78 kB / 443.9 MB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1369, allocations: 64 / 443.9 MB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.1372, allocations: 162.6 kB / 444.1 MB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1376, allocations: 23.98 kB / 444.1 MB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.1384, allocations: 382.8 kB / 444.5 MB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.1385, allocations: 88.81 kB / 444.5 MB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.1386, allocations: 16.64 kB / 444.6 MB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.1386, allocations: 16.5 kB / 444.6 MB, free: 7.039 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1386, allocations: 0 / 444.6 MB, free: 7.039 MB / 414.1 MB Notification: Performance of Templates: time 0.005401/0.144, allocations: 1.402 MB / 446 MB, free: 5.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.347019950044341] Failed to read output from testmodel.py, exit status != 0: 0.15605530398897827 0.17318326 0.042377228 Calling exit ...