Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.001461/0.001461, 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.001524/0.001525, allocations: 195.7 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.002989/0.002989, allocations: 0.5741 MB / 291 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.89 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09686, allocations: 49.6 MB / 401.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1668/0.2637, allocations: 1.645 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000242/0.2639, allocations: 94.33 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.264, allocations: 5.938 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.2641, allocations: 17.75 kB / 403 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.2642, allocations: 31.92 kB / 403 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.2643, allocations: 21.94 kB / 403.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2645, allocations: 102.7 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2646, allocations: 36.73 kB / 403.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.2647, allocations: 37.67 kB / 403.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.2648, allocations: 45.61 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2648, allocations: 8.844 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.2649, allocations: 8.812 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.2649, allocations: 22.52 kB / 403.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.265, allocations: 52.81 kB / 403.4 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2651, allocations: 104.9 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2651, allocations: 4.656 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2651, allocations: 0 / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2651, allocations: 0 / 403.5 MB, free: 9.805 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.000434/0.2656, allocations: 393.6 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2656, allocations: 10.2 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2657, allocations: 43.42 kB / 403.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2657, allocations: 14.28 kB / 403.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2658, allocations: 193.8 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2659, allocations: 7.625 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.2659, allocations: 15.09 kB / 404.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2661, allocations: 90.8 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2661, allocations: 1.781 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2661, allocations: 4.969 kB / 404.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2662, allocations: 6.219 kB / 404.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2663, allocations: 57.95 kB / 404.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2667, allocations: 392.7 kB / 404.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2669, allocations: 104.2 kB / 404.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.267, allocations: 32.73 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.267, allocations: 1.5 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.267, allocations: 40.78 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.267, allocations: 0 / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009275/0.268, allocations: 0.6785 MB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.268, allocations: 53.53 kB / 405.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.2681, allocations: 129.9 kB / 405.7 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2681, allocations: 29.7 kB / 405.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.2682, allocations: 103.3 kB / 405.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.2682, allocations: 53.78 kB / 405.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.2682, allocations: 39.56 kB / 405.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.2683, allocations: 325.3 kB / 406.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.2684, allocations: 33.83 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.2685, allocations: 73.19 kB / 406.4 MB, free: 7.266 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.2692, allocations: 409.9 kB / 406.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2692, allocations: 3.938 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002534/0.2695, allocations: 168.6 kB / 406.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2695, allocations: 5.781 kB / 406.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2695, allocations: 1.25 kB / 406.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.2697, allocations: 27.34 kB / 407 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.2698, allocations: 31.14 kB / 407 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009772/0.2708, allocations: 1.625 MB / 408.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.2708, allocations: 1.094 kB / 408.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2709, allocations: 8.375 kB / 408.6 MB, free: 5.242 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.s = $START.mass2.s. 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.271, allocations: 126.8 kB / 408.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.271, allocations: 8.312 kB / 408.8 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.271, allocations: 22.69 kB / 408.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.271, allocations: 2.219 kB / 408.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2711, allocations: 0 / 408.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2711, allocations: 1.094 kB / 408.8 MB, free: 5.094 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.0005687/0.2716, allocations: 0.5963 MB / 409.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2716, allocations: 1.406 kB / 409.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.2718, allocations: 25.12 kB / 409.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-05/0.2718, allocations: 20.62 kB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2719, allocations: 1.938 kB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006026/0.2725, allocations: 1.367 MB / 410.8 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2725, allocations: 4.094 kB / 410.8 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2728, allocations: 302.5 kB / 411.1 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2728, allocations: 86.02 kB / 411.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2729, allocations: 10.27 kB / 411.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.2729, allocations: 7.719 kB / 411.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.273, allocations: 13.91 kB / 411.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.273, allocations: 7.906 kB / 411.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.273, allocations: 92.41 kB / 411.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.273, allocations: 0 / 411.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.2733, allocations: 34 kB / 411.3 MB, free: 2.695 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.000436/0.2738, allocations: 0.8383 MB / 412.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.2742, allocations: 238.9 kB / 412.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2742, allocations: 1.375 kB / 412.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.2743, allocations: 169.7 kB / 412.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2746, allocations: 27.16 kB / 412.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2762, allocations: 1.841 MB / 414.5 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2766, allocations: 0.7085 MB / 415.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2767, allocations: 10.75 kB / 415.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.2767, allocations: 31.47 kB / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2767, allocations: 0 / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.3064, allocations: 2.967 MB / 418.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.532/9.839, allocations: 14 kB / 418.2 MB, free: 14.89 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial_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_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)