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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007704/0.007704, allocations: 97.58 kB / 15.73 MB, free: 6.055 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.001505/0.001506, allocations: 201.6 kB / 16.68 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.003451/0.003451, allocations: 0.5623 MB / 291.1 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1639/0.1639, allocations: 61.34 kB / 401.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.2586, allocations: 49.6 MB / 451.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002604/0.2613, allocations: 1.652 MB / 453.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002802/0.2616, allocations: 107.5 kB / 453.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.2616, allocations: 0 / 453.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.2617, allocations: 15.86 kB / 453.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2618, allocations: 27.72 kB / 453.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.2619, allocations: 27.95 kB / 453.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2621, allocations: 107.5 kB / 453.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2622, allocations: 35.97 kB / 453.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.2623, allocations: 35.92 kB / 453.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.2624, allocations: 51.77 kB / 453.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2624, allocations: 8 kB / 453.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.2624, allocations: 8 kB / 453.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.2625, allocations: 23.92 kB / 453.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.2625, allocations: 43.8 kB / 453.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.2627, allocations: 111.2 kB / 453.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2627, allocations: 8 kB / 453.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2627, allocations: 0 / 453.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2627, allocations: 4 kB / 453.8 MB, free: 3.637 MB / 318.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.000515/0.2632, allocations: 395.2 kB / 454.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2633, allocations: 12.03 kB / 454.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.2634, allocations: 46.73 kB / 454.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.2634, allocations: 8.891 kB / 454.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.2636, allocations: 192.2 kB / 454.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2636, allocations: 8.562 kB / 454.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2636, allocations: 8.375 kB / 454.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2638, allocations: 98.47 kB / 454.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2638, allocations: 0 / 454.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2638, allocations: 4 kB / 454.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2639, allocations: 4 kB / 454.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.264, allocations: 55.95 kB / 454.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.2645, allocations: 396.6 kB / 455 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2647, allocations: 102.5 kB / 455.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.2648, allocations: 32.86 kB / 455.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2648, allocations: 0 / 455.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2648, allocations: 42.55 kB / 455.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.2648, allocations: 0 / 455.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.00108/0.2659, allocations: 0.6916 MB / 455.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2659, allocations: 51.41 kB / 455.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2661, allocations: 118.9 kB / 456 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2661, allocations: 29.7 kB / 456 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.2661, allocations: 96.41 kB / 456.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.2662, allocations: 63.48 kB / 456.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.2662, allocations: 37.7 kB / 456.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2664, allocations: 318.8 kB / 456.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.2664, allocations: 35.98 kB / 456.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.2665, allocations: 60.25 kB / 456.6 MB, free: 460 kB / 318.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.0005443/0.2671, allocations: 368.4 kB / 457 MB, free: 48 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2671, allocations: 7.922 kB / 457 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002057/0.2673, allocations: 141.5 kB / 457.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2673, allocations: 4 kB / 457.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2673, allocations: 0 / 457.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2673, allocations: 4 kB / 457.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.2675, allocations: 47.88 kB / 457.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2675, allocations: 0 / 457.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.2676, allocations: 8 kB / 457.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2676, allocations: 4 kB / 457.2 MB, free: 15.83 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 0.0001077/0.2677, allocations: 133.7 kB / 457.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.2677, allocations: 7.953 kB / 457.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.2678, allocations: 16.84 kB / 457.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2678, allocations: 7.938 kB / 457.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2678, allocations: 4.25 kB / 457.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2678, allocations: 0 / 457.4 MB, free: 15.65 MB / 334.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.0006276/0.2685, allocations: 0.5942 MB / 458 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2685, allocations: 0 / 458 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2686, allocations: 23.98 kB / 458 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.2687, allocations: 32.88 kB / 458 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2687, allocations: 4 kB / 458 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009464/0.2697, allocations: 1.363 MB / 459.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2697, allocations: 4.031 kB / 459.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.27, allocations: 306.8 kB / 459.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2701, allocations: 85.06 kB / 459.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2701, allocations: 4 kB / 459.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.2702, allocations: 4 kB / 459.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.2702, allocations: 15.92 kB / 459.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2702, allocations: 7.938 kB / 459.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.958e-05/0.2703, allocations: 95.7 kB / 459.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 4.062 kB / 459.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.2706, allocations: 32 kB / 459.9 MB, free: 12.8 MB / 334.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 0.0005958/0.2712, allocations: 0.8328 MB / 460.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.2714, allocations: 103.8 kB / 460.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2714, allocations: 0 / 460.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.2716, allocations: 166.6 kB / 461 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.272, allocations: 27.06 kB / 461.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.2738, allocations: 1.815 MB / 462.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2741, allocations: 0.7044 MB / 463.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.2742, allocations: 17.08 kB / 463.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.2742, allocations: 31.44 kB / 463.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2742, allocations: 0 / 463.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.2964, allocations: 2.988 MB / 466.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.189/9.485, allocations: 12.47 kB / 466.6 MB, free: 6.176 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)