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.0008637/0.0008637, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008382/0.0008382, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8842/0.8842, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001933/0.001933, allocations: 416.3 kB / 260.4 MB, free: 12.83 MB / 250.7 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 1.372e-06/1.372e-06, allocations: 0 / 383 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.455e-05, allocations: 9.516 kB / 383 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.001918/0.001942, allocations: 1.622 MB / 384.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.002194, allocations: 95.62 kB / 384.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.002249, allocations: 0 / 384.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.823e-05/0.002297, allocations: 15.84 kB / 384.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.138e-05/0.002389, allocations: 35.66 kB / 384.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.002507, allocations: 23.97 kB / 384.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.002618, allocations: 111.5 kB / 384.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.002751, allocations: 31.91 kB / 385 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.002841, allocations: 63.88 kB / 385 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.00293, allocations: 31.91 kB / 385.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.00296, allocations: 8 kB / 385.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.002976, allocations: 8 kB / 385.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.003004, allocations: 27.84 kB / 385.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.003042, allocations: 35.86 kB / 385.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.003189, allocations: 107.6 kB / 385.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003191, allocations: 8 kB / 385.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003192, allocations: 0 / 385.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.003196, allocations: 0 / 385.2 MB, free: 13.41 MB / 362.7 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.0003708/0.003567, allocations: 318.2 kB / 385.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.003604, allocations: 8.031 kB / 385.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.00364, allocations: 12.84 kB / 385.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.003781, allocations: 133.6 kB / 385.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003793, allocations: 8.562 kB / 385.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.003822, allocations: 16.38 kB / 385.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.003972, allocations: 93.72 kB / 385.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.003984, allocations: 0 / 385.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.003998, allocations: 8 kB / 385.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004003, allocations: 0 / 385.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.004087, allocations: 59.95 kB / 385.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.004456, allocations: 308.2 kB / 386.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.004594, allocations: 94.73 kB / 386.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.004643, allocations: 44.72 kB / 386.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.004655, allocations: 4 kB / 386.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.004676, allocations: 30.56 kB / 386.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.004677, allocations: 0 / 386.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008106/0.005488, allocations: 0.5422 MB / 386.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.005526, allocations: 55.34 kB / 387 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.005601, allocations: 109.8 kB / 387.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.005614, allocations: 33.7 kB / 387.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.00567, allocations: 104 kB / 387.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.005702, allocations: 55.86 kB / 387.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.005739, allocations: 37.72 kB / 387.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.005827, allocations: 322.8 kB / 387.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.005869, allocations: 31.98 kB / 387.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.005928, allocations: 68.72 kB / 387.7 MB, free: 10.73 MB / 362.7 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.0003265/0.006255, allocations: 209.8 kB / 387.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006256, allocations: 0 / 387.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001425/0.006398, allocations: 141.6 kB / 388.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.006413, allocations: 11.94 kB / 388.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.00642, allocations: 0 / 388.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006433, allocations: 0 / 388.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.00654, allocations: 43.91 kB / 388.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006545, allocations: 0 / 388.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.006571, allocations: 4 kB / 388.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006578, allocations: 4 kB / 388.1 MB, free: 10.31 MB / 362.7 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 8.024e-05/0.006658, allocations: 133.7 kB / 388.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.006674, allocations: 7.953 kB / 388.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.006707, allocations: 28.69 kB / 388.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006708, allocations: 0 / 388.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.006715, allocations: 4 kB / 388.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006719, allocations: 0 / 388.3 MB, free: 10.12 MB / 362.7 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.0004103/0.007129, allocations: 437.3 kB / 388.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007131, allocations: 0 / 388.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.007202, allocations: 27.92 kB / 388.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.283e-05/0.007285, allocations: 24.95 kB / 388.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007294, allocations: 4 kB / 388.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.007969, allocations: 1.249 MB / 390 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00797, allocations: 0 / 390 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.008197, allocations: 306.8 kB / 390.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.008205, allocations: 8.172 kB / 390.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.008214, allocations: 8 kB / 390.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.008256, allocations: 4 kB / 390.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.008278, allocations: 11.98 kB / 390.3 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008284, allocations: 4 kB / 390.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.00832, allocations: 91.27 kB / 390.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00832, allocations: 288 / 390.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.008491, allocations: 28 kB / 390.5 MB, free: 7.758 MB / 362.7 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 8.43e-05/0.008576, allocations: 99.19 kB / 390.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.008737, allocations: 108 kB / 390.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008738, allocations: 4 kB / 390.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.008901, allocations: 158.6 kB / 390.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.009124, allocations: 23.92 kB / 390.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.009556, allocations: 366.3 kB / 391.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.009622, allocations: 96.67 kB / 391.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.009656, allocations: 16.5 kB / 391.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009657, allocations: 0 / 391.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of Templates: time 0.002451/0.01211, allocations: 1.738 MB / 393.1 MB, free: 5.102 MB / 362.7 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.353941642679274] Failed to read output from testmodel.py, exit status != 0: 0.01660367101430893 0.024252824000000003 0.019455686 Calling exit ...