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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001208/0.001208, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.00325/0.00325, allocations: 0.5774 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09365, allocations: 49.59 MB / 401.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1692/0.2629, allocations: 1.646 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.2634, allocations: 92.45 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2635, allocations: 0.9062 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.2636, allocations: 15.06 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2637, allocations: 34.41 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2639, allocations: 24.67 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.264, allocations: 108.7 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2642, allocations: 33.94 kB / 403.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.2642, allocations: 36.97 kB / 403.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.2643, allocations: 50.09 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2644, allocations: 10.12 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.2644, allocations: 8.812 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.2644, allocations: 17.75 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.2645, allocations: 56.09 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2647, allocations: 110.3 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2647, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2647, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2647, allocations: 1.188 kB / 403.5 MB, free: 9.812 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.0004584/0.2652, allocations: 396.6 kB / 403.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2652, allocations: 12.14 kB / 403.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.2653, allocations: 39.92 kB / 403.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2653, allocations: 14.56 kB / 403.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2655, allocations: 189.5 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2655, allocations: 4.312 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2655, allocations: 15.7 kB / 404.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.2657, allocations: 99 kB / 404.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2657, allocations: 1.344 kB / 404.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2657, allocations: 0.75 kB / 404.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2658, allocations: 2.906 kB / 404.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2659, allocations: 57.67 kB / 404.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.2664, allocations: 394.2 kB / 404.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.2666, allocations: 112.9 kB / 404.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.2666, allocations: 37.83 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2666, allocations: 1.156 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.2667, allocations: 32.08 kB / 404.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2667, allocations: 0 / 404.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001013/0.2677, allocations: 0.6871 MB / 405.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2677, allocations: 57.66 kB / 405.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.2678, allocations: 122.9 kB / 405.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2678, allocations: 26.89 kB / 405.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.2679, allocations: 102.6 kB / 405.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.2679, allocations: 55.16 kB / 405.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.268, allocations: 38.84 kB / 406 MB, free: 7.656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.268, allocations: 320.4 kB / 406.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.2681, allocations: 35.33 kB / 406.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.2682, allocations: 67.69 kB / 406.4 MB, free: 7.281 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.0005305/0.2687, allocations: 374.1 kB / 406.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2687, allocations: 7.875 kB / 406.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001892/0.2689, allocations: 138.7 kB / 406.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2689, allocations: 4.75 kB / 406.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2689, allocations: 5.5 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.269, allocations: 6.344 kB / 406.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.2691, allocations: 38.64 kB / 406.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2692, allocations: 2.234 kB / 406.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.2692, allocations: 1.219 kB / 406.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2692, allocations: 8.344 kB / 406.9 MB, free: 6.898 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 7.736e-05/0.2693, allocations: 134.7 kB / 407.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.2694, allocations: 9.562 kB / 407.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.013e-05/0.2694, allocations: 15.56 kB / 407.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2694, allocations: 6.531 kB / 407.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2694, allocations: 0 / 407.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2694, allocations: 2.422 kB / 407.1 MB, free: 6.742 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.0005637/0.27, allocations: 0.5936 MB / 407.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.27, allocations: 1.906 kB / 407.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2701, allocations: 28.44 kB / 407.7 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.2703, allocations: 24.66 kB / 407.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2703, allocations: 1.094 kB / 407.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006808/0.271, allocations: 1.374 MB / 409.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.271, allocations: 0 / 409.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2713, allocations: 305.9 kB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.2713, allocations: 84.8 kB / 409.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2714, allocations: 6.625 kB / 409.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.2715, allocations: 1 kB / 409.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2715, allocations: 23.38 kB / 409.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2715, allocations: 3.75 kB / 409.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.2715, allocations: 92.83 kB / 409.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2716, allocations: 0 / 409.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.2718, allocations: 29.44 kB / 409.7 MB, free: 4.336 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 0.0004477/0.2723, allocations: 0.8375 MB / 410.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.2725, allocations: 107.4 kB / 410.6 MB, free: 3.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2725, allocations: 4.125 kB / 410.6 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.2727, allocations: 169.8 kB / 410.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2731, allocations: 24.58 kB / 410.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2745, allocations: 1.786 MB / 412.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2747, allocations: 0.7012 MB / 413.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.2747, allocations: 16.08 kB / 413.3 MB, free: 1.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.2748, allocations: 29.16 kB / 413.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2748, allocations: 0 / 413.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.2976, allocations: 2.916 MB / 416.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/9.357, allocations: 6.25 kB / 416.3 MB, free: 0.7031 MB / 286.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)