Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.0009219/0.0009219, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009768/0.0009768, allocations: 173 kB / 23.49 MB, free: 1.055 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.002153/0.002153, allocations: 427 kB / 260.7 MB, free: 12.71 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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 3.984 kB / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.571e-05, allocations: 5.125 kB / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001984/0.00202, allocations: 1.681 MB / 331.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.002324, allocations: 95.56 kB / 331.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.00239, allocations: 4 kB / 331.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.002437, allocations: 11.86 kB / 331.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.00254, allocations: 31.7 kB / 331.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.002677, allocations: 31.89 kB / 332 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.00278, allocations: 115.5 kB / 332.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.002905, allocations: 23.92 kB / 332.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.003003, allocations: 63.88 kB / 332.2 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.003098, allocations: 31.89 kB / 332.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.003134, allocations: 12 kB / 332.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.003151, allocations: 8 kB / 332.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.00318, allocations: 15.92 kB / 332.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.003217, allocations: 39.91 kB / 332.3 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003341, allocations: 67.75 kB / 332.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003344, allocations: 4 kB / 332.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003345, allocations: 4 kB / 332.3 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.00335, allocations: 0 / 332.3 MB, free: 17.39 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.0003425/0.003693, allocations: 420.5 kB / 332.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.003726, allocations: 8.031 kB / 332.8 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.003772, allocations: 24.84 kB / 332.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.003887, allocations: 136.5 kB / 332.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.003897, allocations: 4.562 kB / 332.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.003921, allocations: 8.375 kB / 332.9 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.004044, allocations: 84.03 kB / 333 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.004056, allocations: 7.953 kB / 333 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.004075, allocations: 4 kB / 333 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004081, allocations: 0 / 333 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.004147, allocations: 39.91 kB / 333.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.004522, allocations: 339.6 kB / 333.4 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004642, allocations: 83.16 kB / 333.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.004684, allocations: 39.7 kB / 333.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.004693, allocations: 4 kB / 333.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.004711, allocations: 41.38 kB / 333.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.004712, allocations: 4 kB / 333.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000715/0.005427, allocations: 0.4916 MB / 334.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.005449, allocations: 59.28 kB / 334.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.005509, allocations: 177.9 kB / 334.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.005516, allocations: 25.7 kB / 334.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.005554, allocations: 146.8 kB / 334.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.005579, allocations: 67.42 kB / 334.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.005616, allocations: 43.38 kB / 334.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.005659, allocations: 0.4923 MB / 335.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.00569, allocations: 19.98 kB / 335.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.005737, allocations: 58.41 kB / 335.1 MB, free: 14.34 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.0003749/0.006112, allocations: 182.3 kB / 335.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006113, allocations: 0 / 335.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001698/0.006283, allocations: 149.2 kB / 335.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.006298, allocations: 8 kB / 335.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006303, allocations: 0 / 335.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.006438, allocations: 31.61 kB / 335.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.006498, allocations: 23.98 kB / 335.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007402/0.007238, allocations: 2.036 MB / 337.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.007265, allocations: 0 / 337.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007274, allocations: 11.98 kB / 337.6 MB, free: 11.75 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 7.731e-05/0.007351, allocations: 168.5 kB / 337.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.007374, allocations: 19.89 kB / 337.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.007395, allocations: 16.78 kB / 337.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007396, allocations: 0 / 337.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.0074, allocations: 256 / 337.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.007404, allocations: 0 / 337.8 MB, free: 11.54 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.0003493/0.007753, allocations: 479.8 kB / 338.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007756, allocations: 0 / 338.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.007829, allocations: 27.92 kB / 338.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/0.007885, allocations: 23.69 kB / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.007895, allocations: 0 / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004443/0.008339, allocations: 1.736 MB / 340 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.00834, allocations: 0 / 340 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.008523, allocations: 337.5 kB / 340.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.00853, allocations: 11.95 kB / 340.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.00854, allocations: 3.938 kB / 340.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.204e-05/0.008582, allocations: 8 kB / 340.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.008605, allocations: 7.984 kB / 340.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.008611, allocations: 12.11 kB / 340.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.008638, allocations: 131.6 kB / 340.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008638, allocations: 0 / 340.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.008843, allocations: 28 kB / 340.6 MB, free: 8.539 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 8.374e-05/0.008927, allocations: 107.2 kB / 340.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.009206, allocations: 268.7 kB / 340.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009208, allocations: 64 / 340.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.009293, allocations: 221.5 kB / 341.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.009538, allocations: 24.2 kB / 341.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.009999, allocations: 343.9 kB / 341.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.01003, allocations: 79.69 kB / 341.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.01007, allocations: 8.656 kB / 341.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.01009, allocations: 20.48 kB / 341.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01009, allocations: 3.938 kB / 341.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Templates: time 0.003261/0.01335, allocations: 1.52 MB / 343.1 MB, free: 5.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7444539989810437]