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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003863/0.003863, allocations: 0.5661 MB / 290.9 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 71.88 kB / 351.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 49.59 MB / 401.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.2398/0.3663, allocations: 1.643 MB / 402.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.3667, allocations: 99.2 kB / 402.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.3668, allocations: 1.188 kB / 402.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.04e-05/0.3669, allocations: 14.44 kB / 402.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.367, allocations: 32.05 kB / 402.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.3672, allocations: 25.23 kB / 402.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3673, allocations: 112.9 kB / 403.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3675, allocations: 30 kB / 403.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.3676, allocations: 35.81 kB / 403.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3677, allocations: 49.06 kB / 403.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3678, allocations: 9.406 kB / 403.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.964e-05/0.3678, allocations: 11.16 kB / 403.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.3678, allocations: 20.58 kB / 403.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.3679, allocations: 46.33 kB / 403.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3681, allocations: 111.8 kB / 403.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3681, allocations: 0 / 403.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3681, allocations: 0.875 kB / 403.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3682, allocations: 0 / 403.4 MB, free: 9.836 MB / 286.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.0005199/0.3687, allocations: 395.9 kB / 403.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3687, allocations: 16.64 kB / 403.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3688, allocations: 14.19 kB / 403.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3689, allocations: 188.5 kB / 404 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.369, allocations: 8.688 kB / 404 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.369, allocations: 10.03 kB / 404 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3692, allocations: 94.91 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3693, allocations: 2 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3693, allocations: 4.5 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3693, allocations: 7.062 kB / 404.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3695, allocations: 59.23 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.3701, allocations: 398.2 kB / 404.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3704, allocations: 95.55 kB / 404.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.3705, allocations: 37.05 kB / 404.7 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3705, allocations: 5.125 kB / 404.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3705, allocations: 33.33 kB / 404.7 MB, free: 8.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.3705, allocations: 0 / 404.7 MB, free: 8.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001238/0.3718, allocations: 0.6836 MB / 405.4 MB, free: 8.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.3718, allocations: 61.66 kB / 405.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3719, allocations: 131.2 kB / 405.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.372, allocations: 26.8 kB / 405.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.372, allocations: 102.1 kB / 405.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3721, allocations: 55.14 kB / 405.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.3721, allocations: 34.73 kB / 405.8 MB, free: 7.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.3722, allocations: 325.7 kB / 406.1 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.3723, allocations: 37.55 kB / 406.1 MB, free: 7.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.631e-05/0.3724, allocations: 63.61 kB / 406.2 MB, free: 7.355 MB / 286.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.0008097/0.3732, allocations: 417 kB / 406.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3732, allocations: 0 / 406.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002595/0.3735, allocations: 162.6 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3735, allocations: 5.516 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3735, allocations: 1.062 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.3737, allocations: 32.06 kB / 406.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3738, allocations: 31.64 kB / 406.8 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3748, allocations: 1.613 MB / 408.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.3749, allocations: 5.062 kB / 408.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3749, allocations: 9.078 kB / 408.5 MB, free: 5.336 MB / 286.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.0001072/0.375, allocations: 135.6 kB / 408.6 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.3751, allocations: 19.14 kB / 408.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.3751, allocations: 15.27 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3751, allocations: 1.281 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3751, allocations: 1.062 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3752, allocations: 1.312 kB / 408.6 MB, free: 5.176 MB / 286.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.0006254/0.3758, allocations: 0.5919 MB / 409.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3758, allocations: 4.875 kB / 409.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3759, allocations: 27.95 kB / 409.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-05/0.376, allocations: 20.33 kB / 409.3 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.376, allocations: 6.438 kB / 409.3 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006138/0.3766, allocations: 1.367 MB / 410.6 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3767, allocations: 5 kB / 410.7 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.377, allocations: 298 kB / 410.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.377, allocations: 90.16 kB / 411 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.377, allocations: 2.188 kB / 411 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.3771, allocations: 11.75 kB / 411 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3772, allocations: 14.34 kB / 411.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3772, allocations: 7.969 kB / 411.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.3772, allocations: 94.38 kB / 411.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 411.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.3775, allocations: 29.69 kB / 411.2 MB, free: 2.781 MB / 286.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 9.944e-05/0.3776, allocations: 110 kB / 411.3 MB, free: 2.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.3781, allocations: 229.5 kB / 411.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.3781, allocations: 0 / 411.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3783, allocations: 171 kB / 411.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3786, allocations: 27.97 kB / 411.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.3795, allocations: 396 kB / 412.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3797, allocations: 0.7038 MB / 412.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.3798, allocations: 22.31 kB / 412.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3798, allocations: 14.03 kB / 412.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3798, allocations: 0 / 412.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of Templates: time 0.005002/0.3848, allocations: 1.439 MB / 414.3 MB, free: 1.266 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)