Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001406/0.001406, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001496/0.001496, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.00316/0.00316, allocations: 0.5945 MB / 313.8 MB, free: 2.301 MB / 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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.83 kB / 436.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.0977, allocations: 53.53 MB / 489.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003116/0.1008, allocations: 1.624 MB / 491.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.1011, allocations: 95.69 kB / 491.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.1012, allocations: 0 / 491.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.1012, allocations: 19.86 kB / 491.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1013, allocations: 31.72 kB / 491.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.1015, allocations: 27.89 kB / 491.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1016, allocations: 103.5 kB / 491.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1017, allocations: 23.98 kB / 491.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.1018, allocations: 39.86 kB / 491.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.1019, allocations: 43.77 kB / 491.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1019, allocations: 8 kB / 491.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.102, allocations: 8 kB / 491.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.102, allocations: 19.98 kB / 491.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.102, allocations: 43.8 kB / 492 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1022, allocations: 119.4 kB / 492.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1022, allocations: 0 / 492.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1022, allocations: 0 / 492.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1022, allocations: 0 / 492.1 MB, free: 8.555 MB / 350.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.0005684/0.1028, allocations: 318.2 kB / 492.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1028, allocations: 8.031 kB / 492.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.1029, allocations: 20.84 kB / 492.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1031, allocations: 130.4 kB / 492.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1031, allocations: 8.562 kB / 492.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1032, allocations: 12.33 kB / 492.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1033, allocations: 96.97 kB / 492.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1034, allocations: 3.984 kB / 492.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1034, allocations: 4 kB / 492.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1034, allocations: 4 kB / 492.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1035, allocations: 51.97 kB / 492.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.104, allocations: 316.3 kB / 493 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1042, allocations: 90.55 kB / 493.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.1043, allocations: 37.02 kB / 493.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1043, allocations: 7.922 kB / 493.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1043, allocations: 34.56 kB / 493.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1043, allocations: 0 / 493.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001133/0.1055, allocations: 0.537 MB / 493.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1055, allocations: 59.34 kB / 493.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1056, allocations: 113.8 kB / 493.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1057, allocations: 29.7 kB / 493.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.1057, allocations: 107.9 kB / 494 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1058, allocations: 59.48 kB / 494.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.1059, allocations: 33.72 kB / 494.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.106, allocations: 322.8 kB / 494.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1061, allocations: 35.98 kB / 494.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.1062, allocations: 62.48 kB / 494.5 MB, free: 5.871 MB / 350.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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007475/0.1069, allocations: 257.5 kB / 494.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1069, allocations: 4 kB / 494.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000297/0.1072, allocations: 166.3 kB / 495 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1072, allocations: 4 kB / 495 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1072, allocations: 0 / 495 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.1074, allocations: 28.84 kB / 495 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1075, allocations: 32.02 kB / 495 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.109, allocations: 1.485 MB / 496.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.109, allocations: 4.031 kB / 496.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.109, allocations: 8 kB / 496.5 MB, free: 3.766 MB / 350.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.s = $START.mass2.s. 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1092, allocations: 129.8 kB / 496.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1092, allocations: 8.016 kB / 496.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.1092, allocations: 16.78 kB / 496.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1092, allocations: 4 kB / 496.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1092, allocations: 0 / 496.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1092, allocations: 0 / 496.7 MB, free: 3.605 MB / 350.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.0007067/0.1099, allocations: 433.5 kB / 497.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.11, allocations: 4 kB / 497.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1101, allocations: 23.98 kB / 497.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.1102, allocations: 24.95 kB / 497.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1102, allocations: 7.922 kB / 497.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.1113, allocations: 1.245 MB / 498.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1113, allocations: 4.031 kB / 498.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.1117, allocations: 306.7 kB / 498.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.1117, allocations: 8.203 kB / 498.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1117, allocations: 15.88 kB / 498.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1118, allocations: 4 kB / 498.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1118, allocations: 23.91 kB / 498.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1118, allocations: 4 kB / 498.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.256e-05/0.1119, allocations: 87.28 kB / 498.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1119, allocations: 3.938 kB / 498.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1122, allocations: 32 kB / 498.9 MB, free: 1.215 MB / 350.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.0001325/0.1124, allocations: 99.23 kB / 499 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.1128, allocations: 226.4 kB / 499.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1128, allocations: 0 / 499.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.113, allocations: 170.5 kB / 499.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1134, allocations: 20 kB / 499.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.1141, allocations: 424.6 kB / 499.8 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1142, allocations: 88.62 kB / 499.9 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.1143, allocations: 15.44 kB / 499.9 MB, free: 100 kB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1143, allocations: 0 / 499.9 MB, free: 100 kB / 350.1 MB Notification: Performance of Templates: time 0.004386/0.1187, allocations: 2.003 MB / 0.4901 GB, free: 14.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.418897277209908] Failed to read output from testmodel.py, exit status != 0: 0.12682113470509648 0.143567002 0.038158186000000004 Calling exit ...