Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001564, 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.001347/0.001347, allocations: 195.2 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.003241/0.003241, allocations: 0.5663 MB / 290.9 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 351.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 49.6 MB / 401.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.2311/0.3671, allocations: 1.641 MB / 402.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.3675, allocations: 95.73 kB / 402.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.3675, allocations: 6.406 kB / 402.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.552e-05/0.3676, allocations: 13 kB / 402.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3678, allocations: 32.11 kB / 402.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.3679, allocations: 26.25 kB / 403 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3681, allocations: 105.2 kB / 403.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3682, allocations: 35.78 kB / 403.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.3683, allocations: 39.52 kB / 403.1 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.3684, allocations: 45.03 kB / 403.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.3685, allocations: 12.84 kB / 403.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.3685, allocations: 8.531 kB / 403.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.3685, allocations: 19.39 kB / 403.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.3686, allocations: 53.81 kB / 403.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3688, allocations: 106.5 kB / 403.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3688, allocations: 0 / 403.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3688, allocations: 0 / 403.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.3688, allocations: 0.7969 kB / 403.4 MB, free: 9.832 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.0004641/0.3693, allocations: 398.8 kB / 403.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3693, allocations: 13.45 kB / 403.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3694, allocations: 14.97 kB / 403.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3695, allocations: 192.5 kB / 404 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3695, allocations: 7.688 kB / 404 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.3696, allocations: 15.33 kB / 404 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3698, allocations: 96.27 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3698, allocations: 1.703 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3698, allocations: 0.5 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3698, allocations: 7.984 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.37, allocations: 63.69 kB / 404.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.3705, allocations: 381.4 kB / 404.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3707, allocations: 105 kB / 404.6 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.3708, allocations: 42.84 kB / 404.7 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3708, allocations: 1.062 kB / 404.7 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3708, allocations: 31.28 kB / 404.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3708, allocations: 0.6875 kB / 404.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00109/0.3719, allocations: 0.6819 MB / 405.4 MB, free: 8.121 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.372, allocations: 57.28 kB / 405.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.3721, allocations: 124.9 kB / 405.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3721, allocations: 26.61 kB / 405.6 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.3722, allocations: 106.8 kB / 405.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3722, allocations: 59.69 kB / 405.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3723, allocations: 30.64 kB / 405.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3723, allocations: 324.2 kB / 406.1 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.3724, allocations: 38.45 kB / 406.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.3725, allocations: 64.98 kB / 406.2 MB, free: 7.363 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.3731, allocations: 372.2 kB / 406.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3731, allocations: 0 / 406.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001982/0.3733, allocations: 143.2 kB / 406.7 MB, free: 7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3733, allocations: 6.656 kB / 406.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3733, allocations: 1.25 kB / 406.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3733, allocations: 5.672 kB / 406.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3735, allocations: 39.17 kB / 406.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3735, allocations: 1.219 kB / 406.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.3736, allocations: 5.125 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3736, allocations: 13.14 kB / 406.8 MB, free: 6.984 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.3737, allocations: 138.9 kB / 406.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3737, allocations: 8.75 kB / 406.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.3738, allocations: 16.39 kB / 406.9 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3738, allocations: 1.062 kB / 406.9 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3738, allocations: 1.094 kB / 406.9 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3738, allocations: 2.078 kB / 407 MB, free: 6.832 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.0005432/0.3744, allocations: 0.6006 MB / 407.6 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3744, allocations: 1.406 kB / 407.6 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3745, allocations: 25.62 kB / 407.6 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.927e-05/0.3746, allocations: 24.19 kB / 407.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3746, allocations: 6.188 kB / 407.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007194/0.3754, allocations: 1.364 MB / 409 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3754, allocations: 2.391 kB / 409 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3757, allocations: 307.1 kB / 409.3 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3757, allocations: 84.33 kB / 409.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3757, allocations: 7.375 kB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3758, allocations: 1.922 kB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3759, allocations: 18.69 kB / 409.4 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3759, allocations: 3.75 kB / 409.4 MB, free: 4.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.3759, allocations: 97.92 kB / 409.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3759, allocations: 0 / 409.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3762, allocations: 29.38 kB / 409.5 MB, free: 4.422 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 7.82e-05/0.3763, allocations: 102.7 kB / 409.6 MB, free: 4.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3765, allocations: 107.3 kB / 409.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3765, allocations: 1.375 kB / 409.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3768, allocations: 174.7 kB / 409.9 MB, free: 4.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3771, allocations: 22.84 kB / 409.9 MB, free: 4.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.3777, allocations: 386.5 kB / 410.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.3779, allocations: 0.707 MB / 411 MB, free: 3.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.378, allocations: 19.39 kB / 411 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.378, allocations: 14.53 kB / 411 MB, free: 3.145 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.378, allocations: 1.156 kB / 411 MB, free: 3.145 MB / 286.1 MB Notification: Performance of Templates: time 0.005106/0.3831, allocations: 1.378 MB / 412.4 MB, free: 3.047 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)