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.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.0009164/0.0009164, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001363/0.001363, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9759/0.9759, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.002211/0.002211, allocations: 431.7 kB / 260.7 MB, free: 12.5 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 277.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.622e-05, allocations: 6.25 kB / 277.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.00199/0.002006, allocations: 1.734 MB / 279.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.00224, allocations: 99.56 kB / 279.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.002288, allocations: 0 / 279.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.002334, allocations: 15.86 kB / 279.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.002423, allocations: 31.72 kB / 279.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.403e-05/0.002517, allocations: 27.95 kB / 279.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.002612, allocations: 111.4 kB / 279.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.00271, allocations: 28.59 kB / 279.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.002802, allocations: 63.89 kB / 279.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.002883, allocations: 31.89 kB / 279.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.002903, allocations: 15.94 kB / 279.5 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.002915, allocations: 8 kB / 279.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.002937, allocations: 19.91 kB / 279.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.002965, allocations: 35.92 kB / 279.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003066, allocations: 63.81 kB / 279.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003068, allocations: 4 kB / 279.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003069, allocations: 0 / 279.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.003072, allocations: 0 / 279.6 MB, free: 9.547 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.0003037/0.003375, allocations: 308.7 kB / 279.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003406, allocations: 12.03 kB / 279.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.003436, allocations: 12.94 kB / 279.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.003545, allocations: 125.6 kB / 280.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003555, allocations: 8.562 kB / 280.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.003578, allocations: 12.38 kB / 280.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.003667, allocations: 74.72 kB / 280.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.00368, allocations: 7.938 kB / 280.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.003687, allocations: 0 / 280.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.003693, allocations: 4 kB / 280.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.00374, allocations: 31.36 kB / 280.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.004045, allocations: 236 kB / 280.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.004134, allocations: 62.47 kB / 280.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.004162, allocations: 20.86 kB / 280.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004171, allocations: 8 kB / 280.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.004193, allocations: 34.69 kB / 280.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.004194, allocations: 0 / 280.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006753/0.004869, allocations: 468.5 kB / 281 MB, free: 8.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.004894, allocations: 55.41 kB / 281.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.004954, allocations: 126.6 kB / 281.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.004963, allocations: 25.7 kB / 281.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.005002, allocations: 104 kB / 281.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.005036, allocations: 63.47 kB / 281.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.005074, allocations: 41.62 kB / 281.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.005144, allocations: 318.8 kB / 281.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.005161, allocations: 15.98 kB / 281.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.005199, allocations: 38.55 kB / 281.8 MB, free: 7.172 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.005359, allocations: 134.1 kB / 281.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.00536, allocations: 0 / 281.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 8.911e-05/0.005449, allocations: 97.47 kB / 282 MB, free: 6.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.00546, allocations: 4 kB / 282 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005464, allocations: 4 kB / 282 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005474, allocations: 3.984 kB / 282 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.005598, allocations: 47.84 kB / 282.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005602, allocations: 4 kB / 282.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.005624, allocations: 8.031 kB / 282.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.00563, allocations: 4 kB / 282.1 MB, free: 6.863 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.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 6.424e-05/0.005695, allocations: 121.8 kB / 282.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.005716, allocations: 15.98 kB / 282.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.005743, allocations: 12.78 kB / 282.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.005747, allocations: 7.938 kB / 282.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005751, allocations: 256 / 282.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005753, allocations: 0 / 282.2 MB, free: 6.699 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.0004225/0.006176, allocations: 333.8 kB / 282.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.006177, allocations: 0 / 282.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.00625, allocations: 27.98 kB / 282.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.006315, allocations: 16.84 kB / 282.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.006323, allocations: 8 kB / 282.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000517/0.00684, allocations: 1.162 MB / 283.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006841, allocations: 4 kB / 283.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.007011, allocations: 230.8 kB / 284 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.007022, allocations: 19.88 kB / 284 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.007031, allocations: 0 / 284 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.007072, allocations: 11.94 kB / 284 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.007092, allocations: 11.92 kB / 284.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007099, allocations: 8 kB / 284.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.231e-05/0.007121, allocations: 20.94 kB / 284.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007121, allocations: 0 / 284.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.007276, allocations: 28 kB / 284.1 MB, free: 4.676 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 6.994e-05/0.007346, allocations: 76.42 kB / 284.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007456, allocations: 79.78 kB / 284.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007459, allocations: 0 / 284.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.007592, allocations: 159.7 kB / 284.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.007751, allocations: 24.42 kB / 284.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.008067, allocations: 315.3 kB / 284.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.008107, allocations: 71.83 kB / 284.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.00814, allocations: 12.64 kB / 284.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.008201, allocations: 75.38 kB / 284.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008202, allocations: 0 / 284.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of Templates: time 0.002801/0.011, allocations: 1.59 MB / 286.5 MB, free: 2.293 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6082623219117522]