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.001303/0.001303, allocations: 102.3 kB / 19.7 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.00143/0.00143, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002789/0.002789, allocations: 0.5695 MB / 313.8 MB, free: 2.547 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.00187/0.00187, allocations: 60.09 kB / 436.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.0912, allocations: 53.54 MB / 490 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002773/0.09397, allocations: 1.682 MB / 491.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.09423, allocations: 103.6 kB / 491.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.09429, allocations: 4 kB / 491.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.09434, allocations: 11.86 kB / 491.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.09444, allocations: 31.7 kB / 491.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.09455, allocations: 23.97 kB / 491.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.09468, allocations: 111.5 kB / 491.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.0948, allocations: 27.97 kB / 491.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.09487, allocations: 39.92 kB / 492 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.09496, allocations: 43.78 kB / 492 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.09498, allocations: 8 kB / 492 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.095, allocations: 8 kB / 492 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.09502, allocations: 23.92 kB / 492.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.09509, allocations: 55.72 kB / 492.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.09524, allocations: 103.5 kB / 492.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.09524, allocations: 0 / 492.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09524, allocations: 0 / 492.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.09525, allocations: 0 / 492.2 MB, free: 8.719 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.000479/0.09573, allocations: 322.2 kB / 492.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09576, allocations: 12.03 kB / 492.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.0958, allocations: 12.84 kB / 492.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.09597, allocations: 130.4 kB / 492.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.09599, allocations: 12.55 kB / 492.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.09602, allocations: 16.33 kB / 492.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.09619, allocations: 89.98 kB / 492.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.09621, allocations: 3.984 kB / 492.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.09622, allocations: 4 kB / 492.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.09622, allocations: 4 kB / 492.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.09634, allocations: 63.84 kB / 492.9 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.09686, allocations: 343.8 kB / 493.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.09704, allocations: 102.5 kB / 493.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.09711, allocations: 36.84 kB / 493.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.09712, allocations: 3.984 kB / 493.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.09715, allocations: 30.56 kB / 493.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.09715, allocations: 0 / 493.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001022/0.09817, allocations: 0.5541 MB / 493.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.0982, allocations: 51.41 kB / 494 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.09832, allocations: 125.8 kB / 494.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.09833, allocations: 25.7 kB / 494.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.0984, allocations: 108.2 kB / 494.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.09846, allocations: 63.47 kB / 494.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.09851, allocations: 29.72 kB / 494.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.09865, allocations: 326.8 kB / 494.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/0.09871, allocations: 35.98 kB / 494.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.0988, allocations: 58.56 kB / 494.7 MB, free: 5.953 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.0006554/0.09945, allocations: 258.8 kB / 495 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.09945, allocations: 0 / 495 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002768/0.09973, allocations: 166.3 kB / 495.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.09975, allocations: 8 kB / 495.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.09975, allocations: 0 / 495.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.09988, allocations: 32.88 kB / 495.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.09998, allocations: 27.92 kB / 495.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1013, allocations: 1.504 MB / 496.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.1013, allocations: 11.97 kB / 496.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1014, allocations: 4 kB / 496.7 MB, free: 3.812 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.0001138/0.1015, allocations: 125.8 kB / 496.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1015, allocations: 19.89 kB / 496.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.1015, allocations: 20.84 kB / 496.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1015, allocations: 4 kB / 496.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1015, allocations: 0 / 496.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1015, allocations: 3.938 kB / 496.9 MB, free: 3.637 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.0006936/0.1022, allocations: 0.5577 MB / 497.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1022, allocations: 4.031 kB / 497.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1024, allocations: 27.98 kB / 497.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.1024, allocations: 20.86 kB / 497.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1024, allocations: 8.062 kB / 497.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.1034, allocations: 1.267 MB / 498.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1034, allocations: 11.95 kB / 498.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.1038, allocations: 298.9 kB / 499.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.1039, allocations: 7.953 kB / 499.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1039, allocations: 0 / 499.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.104, allocations: 11.94 kB / 499.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.104, allocations: 15.91 kB / 499.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.104, allocations: 8 kB / 499.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.1041, allocations: 95.33 kB / 499.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1041, allocations: 3.938 kB / 499.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1044, allocations: 32 kB / 499.3 MB, free: 1.047 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.0001032/0.1045, allocations: 95.25 kB / 499.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.1049, allocations: 230.5 kB / 499.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1049, allocations: 4.062 kB / 499.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1051, allocations: 162.5 kB / 499.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1054, allocations: 27.92 kB / 499.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.106, allocations: 426.1 kB / 0.4885 GB, free: 44 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1064, allocations: 0.7046 MB / 0.4892 GB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1064, allocations: 15.44 kB / 0.4892 GB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1064, allocations: 3.938 kB / 0.4892 GB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003809/0.1102, allocations: 1.986 MB / 0.4911 GB, free: 13.32 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: 6.7611723120789975] Failed to read output from testmodel.py, exit status != 0: 0.1170941130258143 0.268663467 0.033564765 Calling exit ...