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.001376/0.001376, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001311/0.001311, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002818/0.002818, allocations: 0.5707 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09373, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002479/0.09624, allocations: 1.657 MB / 454.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000256/0.09651, allocations: 91.62 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.09658, allocations: 4 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.09664, allocations: 11.86 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.09675, allocations: 31.72 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.09689, allocations: 27.95 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.09702, allocations: 119.4 kB / 454.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.09716, allocations: 31.98 kB / 454.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.09724, allocations: 43.86 kB / 454.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.09734, allocations: 43.77 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.09737, allocations: 8 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.0974, allocations: 16 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.09743, allocations: 19.92 kB / 454.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.09748, allocations: 47.81 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.09762, allocations: 107.6 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.09763, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09764, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.09765, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.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.0004889/0.09814, allocations: 403.3 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.09819, allocations: 11.89 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.09824, allocations: 16.83 kB / 455.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.09839, allocations: 184.2 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.09841, allocations: 8.562 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.09845, allocations: 8.375 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.09863, allocations: 96.41 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.09865, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.09867, allocations: 8 kB / 455.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.09868, allocations: 0 / 455.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.0988, allocations: 67.89 kB / 455.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.09931, allocations: 384.6 kB / 456.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.09948, allocations: 94.5 kB / 456.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.09955, allocations: 45 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.09957, allocations: 0 / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.09959, allocations: 34.56 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.0996, allocations: 0 / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001021/0.1006, allocations: 0.6851 MB / 456.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1007, allocations: 59.39 kB / 457 MB, free: 9.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.1008, allocations: 129.7 kB / 457.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1008, allocations: 25.7 kB / 457.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.1009, allocations: 104.3 kB / 457.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1009, allocations: 59.14 kB / 457.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1009, allocations: 29.72 kB / 457.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.101, allocations: 322.8 kB / 457.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.1011, allocations: 35.98 kB / 457.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.1012, allocations: 70.44 kB / 457.8 MB, free: 9.113 MB / 334.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.0005293/0.1017, allocations: 366.1 kB / 458.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1017, allocations: 0 / 458.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00019/0.1019, allocations: 145.5 kB / 458.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.102, allocations: 12.03 kB / 458.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.102, allocations: 0 / 458.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.102, allocations: 0 / 458.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1022, allocations: 35.97 kB / 458.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1022, allocations: 4 kB / 458.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1022, allocations: 4 kB / 458.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1023, allocations: 4 kB / 458.3 MB, free: 8.508 MB / 334.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 9.474e-05/0.1024, allocations: 129.7 kB / 458.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1024, allocations: 15.84 kB / 458.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.1024, allocations: 20.83 kB / 458.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1025, allocations: 0 / 458.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1025, allocations: 0 / 458.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1025, allocations: 96.91 kB / 458.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1025, allocations: 0 / 458.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1026, allocations: 4 kB / 458.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.1026, allocations: 11.98 kB / 458.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00039/0.103, allocations: 249.6 kB / 458.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002995/0.1033, allocations: 349.3 kB / 459.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.693e-05/0.1034, allocations: 44.03 kB / 459.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.1035, allocations: 96.73 kB / 459.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of Backend: time 2.91e-07/0.1035, allocations: 0 / 459.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.1039, allocations: 150.2 kB / 459.5 MB, free: 7.305 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008196/0.1047, allocations: 0.8283 MB / 460.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of Templates: time 0.003755/0.1085, allocations: 1.398 MB / 461.7 MB, free: 5.086 MB / 334.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)