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.0007735/0.0007735, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.3 MB / 240 MB, free: 5.406 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.002547/0.002547, allocations: 0.5468 MB / 291.6 MB, free: 1.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 19.98 kB / 352.7 MB, free: 2.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 50.56 MB / 403.3 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.3125/0.4511, allocations: 1.327 MB / 404.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.4515, allocations: 90.56 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.4516, allocations: 5.781 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.4516, allocations: 9.766 kB / 404.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.4518, allocations: 26.92 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.4519, allocations: 16.78 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.4522, allocations: 103.8 kB / 404.8 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.4524, allocations: 32.14 kB / 404.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.4525, allocations: 32.98 kB / 404.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.4526, allocations: 41.06 kB / 404.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.4526, allocations: 4.938 kB / 404.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.4527, allocations: 4.938 kB / 404.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.4527, allocations: 19.33 kB / 405 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.4527, allocations: 39.42 kB / 405 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.453, allocations: 83.48 kB / 405.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.453, allocations: 4.969 kB / 405.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.453, allocations: 0 / 405.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.453, allocations: 0 / 405.1 MB, free: 9.637 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.0005205/0.4535, allocations: 380.9 kB / 405.5 MB, free: 9.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4536, allocations: 13.53 kB / 405.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.4536, allocations: 14.14 kB / 405.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.4538, allocations: 188.8 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4539, allocations: 5.938 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.4539, allocations: 14.25 kB / 405.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.4542, allocations: 91.95 kB / 405.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4542, allocations: 5.562 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4542, allocations: 3.844 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4543, allocations: 6.016 kB / 405.8 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.4545, allocations: 56.2 kB / 405.8 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.4552, allocations: 393.5 kB / 406.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.4555, allocations: 97.8 kB / 406.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.4555, allocations: 37.69 kB / 406.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4556, allocations: 6.578 kB / 406.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4556, allocations: 35.5 kB / 406.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4556, allocations: 0 / 406.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001194/0.4568, allocations: 0.6846 MB / 407.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.4569, allocations: 57.34 kB / 407.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.457, allocations: 121.5 kB / 407.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.457, allocations: 25.7 kB / 407.3 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.4571, allocations: 98.88 kB / 407.4 MB, free: 7.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.4571, allocations: 63.41 kB / 407.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4572, allocations: 1.25 kB / 407.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.4572, allocations: 321.7 kB / 407.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.4573, allocations: 33.56 kB / 407.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4574, allocations: 63.7 kB / 407.9 MB, free: 7.328 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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.4579, allocations: 276.6 kB / 408.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4579, allocations: 0 / 408.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002246/0.4582, allocations: 141.8 kB / 408.3 MB, free: 7.027 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4582, allocations: 6.125 kB / 408.3 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4582, allocations: 8.594 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4582, allocations: 2.719 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4584, allocations: 41.69 kB / 408.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4584, allocations: 2.828 kB / 408.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.4585, allocations: 1.219 kB / 408.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4585, allocations: 4.094 kB / 408.3 MB, free: 7.016 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 sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.4586, allocations: 135.8 kB / 408.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4586, allocations: 9.656 kB / 408.5 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.4587, allocations: 14.72 kB / 408.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.4587, allocations: 7.172 kB / 408.5 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4587, allocations: 0 / 408.5 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4587, allocations: 2 kB / 408.5 MB, free: 6.859 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.0006976/0.4594, allocations: 0.591 MB / 409.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4595, allocations: 2.609 kB / 409.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4596, allocations: 32.84 kB / 409.1 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.4597, allocations: 16.38 kB / 409.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4597, allocations: 6.812 kB / 409.1 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/0.4605, allocations: 1.27 MB / 410.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4606, allocations: 2.031 kB / 410.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.461, allocations: 304.5 kB / 410.7 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.4611, allocations: 85.91 kB / 410.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.4611, allocations: 7.359 kB / 410.8 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.4612, allocations: 1.344 kB / 410.8 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4612, allocations: 25.33 kB / 410.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.4612, allocations: 7 kB / 410.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.4613, allocations: 97.8 kB / 410.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.545e-06/0.4613, allocations: 0 / 410.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.4616, allocations: 32.48 kB / 411 MB, free: 4.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001645/0.4618, allocations: 102.6 kB / 411.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.4621, allocations: 98.69 kB / 411.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4621, allocations: 0 / 411.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.4624, allocations: 167.1 kB / 411.3 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4628, allocations: 24.42 kB / 411.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.4636, allocations: 459.6 kB / 411.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4638, allocations: 0.7074 MB / 412.5 MB, free: 3.242 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.509e-05/0.4639, allocations: 11.05 kB / 412.5 MB, free: 3.242 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4639, allocations: 14.97 kB / 412.5 MB, free: 3.234 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4639, allocations: 0 / 412.5 MB, free: 3.234 MB / 286.1 MB Notification: Performance of Templates: time 0.006139/0.4701, allocations: 1.251 MB / 413.8 MB, free: 3.152 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)