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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 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.001413/0.001413, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.002816/0.002816, allocations: 0.5585 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 63.89 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1056, allocations: 49.59 MB / 401.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1703/0.276, allocations: 1.652 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.2763, allocations: 96.44 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.2764, allocations: 5.719 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.2765, allocations: 13.3 kB / 403 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2766, allocations: 27.72 kB / 403 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.2768, allocations: 25.38 kB / 403.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2769, allocations: 110.9 kB / 403.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2771, allocations: 33.73 kB / 403.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.2772, allocations: 33.03 kB / 403.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2773, allocations: 51.91 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2773, allocations: 7.969 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.2773, allocations: 8.719 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.2774, allocations: 22.42 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.2775, allocations: 52.62 kB / 403.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2776, allocations: 105.1 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2776, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2776, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2777, allocations: 0 / 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.0004827/0.2781, allocations: 402.4 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2782, allocations: 10.19 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.2782, allocations: 40.64 kB / 403.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.2783, allocations: 22.03 kB / 403.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2784, allocations: 186 kB / 404.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2785, allocations: 7.938 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.2785, allocations: 14.97 kB / 404.2 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2787, allocations: 95.62 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2787, allocations: 0 / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2787, allocations: 0.8125 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2787, allocations: 7.906 kB / 404.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2789, allocations: 59.73 kB / 404.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.2794, allocations: 393.2 kB / 404.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.2795, allocations: 100.7 kB / 404.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.2796, allocations: 37.28 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2796, allocations: 1.062 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2796, allocations: 40.41 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2797, allocations: 0.75 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009494/0.2806, allocations: 0.6813 MB / 405.6 MB, free: 8.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.2806, allocations: 52.81 kB / 405.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.2807, allocations: 129.4 kB / 405.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2807, allocations: 27.11 kB / 405.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.2808, allocations: 101.9 kB / 405.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.2808, allocations: 55.53 kB / 405.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.2809, allocations: 35.39 kB / 405.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.2809, allocations: 324.6 kB / 406.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.281, allocations: 33.7 kB / 406.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.2811, allocations: 65.31 kB / 406.4 MB, free: 7.277 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.000598/0.2817, allocations: 370.9 kB / 406.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2817, allocations: 9.094 kB / 406.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001899/0.2819, allocations: 142 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2819, allocations: 4.969 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2819, allocations: 1.188 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2819, allocations: 1.906 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.2821, allocations: 38.72 kB / 406.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2821, allocations: 2.188 kB / 406.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.2822, allocations: 9.406 kB / 406.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2822, allocations: 4.094 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 8.838e-05/0.2823, allocations: 133.2 kB / 407.1 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.2823, allocations: 17.62 kB / 407.1 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.2824, allocations: 14.98 kB / 407.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2824, allocations: 2.344 kB / 407.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2824, allocations: 0.7969 kB / 407.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2824, allocations: 1.812 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.0005423/0.283, allocations: 0.5933 MB / 407.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.283, allocations: 1.094 kB / 407.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.2831, allocations: 26.14 kB / 407.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.514e-05/0.2832, allocations: 29 kB / 407.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2832, allocations: 7.062 kB / 407.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/0.2838, allocations: 1.368 MB / 409.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2838, allocations: 4.938 kB / 409.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.2841, allocations: 299.9 kB / 409.4 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.2842, allocations: 85.05 kB / 409.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2842, allocations: 5.5 kB / 409.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.2843, allocations: 1.938 kB / 409.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.2843, allocations: 21.67 kB / 409.5 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2843, allocations: 4.25 kB / 409.5 MB, free: 4.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.2843, allocations: 95.08 kB / 409.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2844, allocations: 0 / 409.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2846, allocations: 36.22 kB / 409.7 MB, free: 4.332 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.0004122/0.285, allocations: 0.8369 MB / 410.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2853, allocations: 109.7 kB / 410.6 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2853, allocations: 1.469 kB / 410.6 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.2855, allocations: 166.5 kB / 410.8 MB, free: 3.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2859, allocations: 21.88 kB / 410.8 MB, free: 3.398 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2874, allocations: 1.786 MB / 412.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2875, allocations: 0.7073 MB / 413.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.2876, allocations: 12.06 kB / 413.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.2877, allocations: 32.27 kB / 413.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2877, allocations: 1.844 kB / 413.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3167, allocations: 2.918 MB / 416.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.605/9.922, allocations: 5.5 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)