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.001075/0.001075, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001197/0.001197, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.096/1.096, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.002851/0.002851, allocations: 428 kB / 260.7 MB, free: 12.52 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.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 1.793e-06/1.793e-06, allocations: 0 / 277.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.147e-05, allocations: 6.25 kB / 277.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002851/0.002882, allocations: 1.698 MB / 279 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.003175, allocations: 99.62 kB / 279.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.003232, allocations: 4 kB / 279.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.935e-05/0.003281, allocations: 15.86 kB / 279.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.003397, allocations: 43.58 kB / 279.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.003532, allocations: 15.98 kB / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.00364, allocations: 111.4 kB / 279.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.003752, allocations: 27.97 kB / 279.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.003855, allocations: 63.89 kB / 279.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.003948, allocations: 31.89 kB / 279.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.003975, allocations: 8 kB / 279.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.00399, allocations: 12 kB / 279.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.004017, allocations: 19.92 kB / 279.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.004054, allocations: 39.91 kB / 279.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004195, allocations: 71.73 kB / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004199, allocations: 0 / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0042, allocations: 0 / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004205, allocations: 0 / 279.6 MB, free: 9.637 MB / 266.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.0003913/0.004596, allocations: 296.7 kB / 279.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.004631, allocations: 8.031 kB / 279.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.004669, allocations: 24.92 kB / 279.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004816, allocations: 121.7 kB / 280 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.00483, allocations: 8.562 kB / 280 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.004856, allocations: 8.375 kB / 280 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.004962, allocations: 85.83 kB / 280.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004974, allocations: 3.953 kB / 280.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004985, allocations: 4 kB / 280.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.004991, allocations: 4 kB / 280.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.005034, allocations: 19.98 kB / 280.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.005366, allocations: 236 kB / 280.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005474, allocations: 74.41 kB / 280.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.005504, allocations: 20.86 kB / 280.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.005512, allocations: 0 / 280.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.005536, allocations: 38.69 kB / 280.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.005537, allocations: 0 / 280.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008018/0.006339, allocations: 471.6 kB / 280.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.006373, allocations: 51.41 kB / 281 MB, free: 8.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.006449, allocations: 122.6 kB / 281.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.006462, allocations: 25.7 kB / 281.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.00651, allocations: 104.2 kB / 281.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.00655, allocations: 59.47 kB / 281.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.006588, allocations: 45.56 kB / 281.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.006679, allocations: 322.8 kB / 281.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.006709, allocations: 20 kB / 281.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.006752, allocations: 41.83 kB / 281.7 MB, free: 7.262 MB / 266.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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.007078, allocations: 154.4 kB / 281.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00708, allocations: 0 / 281.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001455/0.007225, allocations: 116.9 kB / 282 MB, free: 6.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.00724, allocations: 12.03 kB / 282 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007246, allocations: 0 / 282 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.007356, allocations: 24.83 kB / 282 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.007409, allocations: 20 kB / 282 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.008248, allocations: 1.368 MB / 283.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.008276, allocations: 8 kB / 283.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.008281, allocations: 4.281 kB / 283.4 MB, free: 5.457 MB / 266.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.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 9.419e-05/0.008375, allocations: 121.8 kB / 283.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.008398, allocations: 16 kB / 283.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.008425, allocations: 16.77 kB / 283.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008426, allocations: 0 / 283.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.008434, allocations: 7.938 kB / 283.6 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.008439, allocations: 0 / 283.6 MB, free: 5.289 MB / 266.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.0003763/0.008815, allocations: 329.9 kB / 283.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.008818, allocations: 0 / 283.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.008891, allocations: 23.98 kB / 283.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.857e-05/0.00895, allocations: 20.86 kB / 283.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.008958, allocations: 0 / 283.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006003/0.009558, allocations: 1.158 MB / 285.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.00956, allocations: 4 kB / 285.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.009953, allocations: 242.7 kB / 285.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.009964, allocations: 7.953 kB / 285.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.009975, allocations: 4 kB / 285.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.01001, allocations: 4 kB / 285.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01004, allocations: 31.77 kB / 285.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.01005, allocations: 4 kB / 285.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.665e-05/0.01006, allocations: 12.95 kB / 285.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01006, allocations: 4 kB / 285.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.01025, allocations: 28 kB / 285.4 MB, free: 3.27 MB / 266.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 0.0001029/0.01035, allocations: 84.41 kB / 285.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.01061, allocations: 195.3 kB / 285.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.01061, allocations: 0 / 285.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.0107, allocations: 163.4 kB / 285.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01089, allocations: 31.56 kB / 285.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.01131, allocations: 319.3 kB / 286.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.01135, allocations: 71.83 kB / 286.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.383e-05/0.01139, allocations: 8.656 kB / 286.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.01145, allocations: 71.36 kB / 286.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01146, allocations: 0 / 286.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of Templates: time 0.003496/0.01495, allocations: 1.639 MB / 288 MB, free: 0.6914 MB / 266.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.003673088736832]