Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.001379/0.001379, 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.001457/0.001457, allocations: 193.2 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.262 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.00299/0.00299, allocations: 0.5507 MB / 291 MB, free: 1.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 351.7 MB, free: 2.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09855, allocations: 49.6 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001753/0.1003, allocations: 0.5146 MB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001597/0.1005, allocations: 23.84 kB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.1006, allocations: 0 / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.1006, allocations: 0 / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.1006, allocations: 4 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1598/0.2604, allocations: 9.625 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.2605, allocations: 14.48 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.2606, allocations: 2.578 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.2607, allocations: 17.25 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.2607, allocations: 12.78 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2607, allocations: 1.125 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.2608, allocations: 2.219 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.2608, allocations: 5.156 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2608, allocations: 11.47 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.596e-05/0.2609, allocations: 13.39 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2609, allocations: 1.594 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2609, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2609, allocations: 2.375 kB / 401.9 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003238/0.2612, allocations: 337.5 kB / 402.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2613, allocations: 13.48 kB / 402.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.2613, allocations: 36.16 kB / 402.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.2614, allocations: 2.969 kB / 402.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.2614, allocations: 167.2 kB / 402.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2615, allocations: 2.156 kB / 402.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.2615, allocations: 10.52 kB / 402.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2616, allocations: 41.47 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2616, allocations: 7.969 kB / 402.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2617, allocations: 1.156 kB / 402.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2617, allocations: 0 / 402.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.2617, allocations: 18.19 kB / 402.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.262, allocations: 257.5 kB / 402.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.2621, allocations: 58.28 kB / 402.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.2622, allocations: 18.69 kB / 402.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2622, allocations: 0 / 402.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2622, allocations: 40.02 kB / 402.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2622, allocations: 3.75 kB / 402.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006507/0.2629, allocations: 0.49 MB / 403.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2629, allocations: 53.61 kB / 403.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.263, allocations: 102.5 kB / 403.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.263, allocations: 26.23 kB / 403.6 MB, free: 8.727 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.263, allocations: 90.44 kB / 403.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.263, allocations: 24.48 kB / 403.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2631, allocations: 25.97 kB / 403.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.2631, allocations: 317.6 kB / 404 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.2632, allocations: 22.34 kB / 404 MB, free: 8.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.2632, allocations: 27.77 kB / 404 MB, free: 8.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2635, allocations: 258.4 kB / 404.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2635, allocations: 0 / 404.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.2636, allocations: 82.03 kB / 404.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2637, allocations: 9.516 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2637, allocations: 1.125 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2637, allocations: 0.75 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2638, allocations: 22.06 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2638, allocations: 5.438 kB / 404.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.2638, allocations: 4.688 kB / 404.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2639, allocations: 2.531 kB / 404.4 MB, free: 8.023 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: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001546/0.264, allocations: 120.3 kB / 404.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2641, allocations: 3.234 kB / 404.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.2641, allocations: 8.031 kB / 404.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2641, allocations: 2.344 kB / 404.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2641, allocations: 0 / 404.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2641, allocations: 8.688 kB / 404.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.2645, allocations: 370.4 kB / 404.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2645, allocations: 1.594 kB / 404.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.2645, allocations: 8.188 kB / 404.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.2647, allocations: 26.59 kB / 405 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2647, allocations: 6.188 kB / 405 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006994/0.2654, allocations: 1.389 MB / 406.4 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2654, allocations: 1.094 kB / 406.4 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.2656, allocations: 220.4 kB / 406.6 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.2656, allocations: 91.81 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2657, allocations: 3.234 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.2657, allocations: 4.594 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.2658, allocations: 6.75 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.2658, allocations: 3.422 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.027e-05/0.2658, allocations: 84.25 kB / 406.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2658, allocations: 1.312 kB / 406.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.266, allocations: 14.94 kB / 406.8 MB, free: 5.816 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003321/0.2664, allocations: 0.752 MB / 407.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2665, allocations: 51.33 kB / 407.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.2665, allocations: 1.219 kB / 407.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2667, allocations: 143.9 kB / 407.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2669, allocations: 7.359 kB / 407.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.2677, allocations: 1.351 MB / 409.1 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.843e-05/0.2678, allocations: 0.6826 MB / 409.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.2679, allocations: 4.266 kB / 409.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.2679, allocations: 17.23 kB / 409.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2679, allocations: 4 kB / 409.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.296, allocations: 1.634 MB / 411.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.575/9.872, allocations: 11.73 kB / 411.4 MB, free: 2.719 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)