Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.001126/0.001126, 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.001112/0.001112, allocations: 194.8 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.002756/0.002755, allocations: 0.5585 MB / 290.9 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 351.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09133, allocations: 49.6 MB / 401.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.1505/0.2419, allocations: 1.647 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.2422, allocations: 93.67 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.2422, allocations: 1.375 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.2423, allocations: 14.12 kB / 403 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.2424, allocations: 31.72 kB / 403 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.2426, allocations: 28.67 kB / 403.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2427, allocations: 106.2 kB / 403.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2428, allocations: 31.48 kB / 403.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.2429, allocations: 37.14 kB / 403.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.243, allocations: 46.48 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.243, allocations: 9.031 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.243, allocations: 12.56 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.2431, allocations: 17.84 kB / 403.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.2431, allocations: 48 kB / 403.4 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2433, allocations: 113 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2433, allocations: 0.75 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2433, allocations: 0 / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2433, allocations: 1.281 kB / 403.5 MB, free: 9.801 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.000396/0.2437, allocations: 396.4 kB / 403.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2437, allocations: 13.14 kB / 403.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.2438, allocations: 40.2 kB / 403.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2438, allocations: 20.03 kB / 403.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.244, allocations: 188.5 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.244, allocations: 8.625 kB / 404.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.244, allocations: 10.12 kB / 404.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2442, allocations: 94.89 kB / 404.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2442, allocations: 0.7812 kB / 404.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2442, allocations: 5.188 kB / 404.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2442, allocations: 3.688 kB / 404.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2444, allocations: 57.31 kB / 404.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.2449, allocations: 397 kB / 404.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2451, allocations: 105.1 kB / 404.8 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.2451, allocations: 38.67 kB / 404.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2452, allocations: 1.125 kB / 404.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2452, allocations: 36.38 kB / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.2452, allocations: 1.875 kB / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009963/0.2462, allocations: 0.6852 MB / 405.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.2462, allocations: 56.53 kB / 405.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.2463, allocations: 123.6 kB / 405.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2463, allocations: 30.25 kB / 405.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2464, allocations: 102.1 kB / 405.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.2464, allocations: 59.75 kB / 405.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.2465, allocations: 30.28 kB / 405.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.2465, allocations: 324.5 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.2466, allocations: 34.52 kB / 406.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.2467, allocations: 66.41 kB / 406.4 MB, free: 7.262 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.0006962/0.2474, allocations: 415.8 kB / 406.8 MB, free: 6.965 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2474, allocations: 4.969 kB / 406.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002432/0.2477, allocations: 169.9 kB / 406.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2477, allocations: 4.562 kB / 406.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2477, allocations: 1.766 kB / 406.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.2478, allocations: 30.86 kB / 407 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.2479, allocations: 27.98 kB / 407 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008496/0.2488, allocations: 1.617 MB / 408.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.2488, allocations: 4.906 kB / 408.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.2489, allocations: 9.234 kB / 408.6 MB, free: 5.234 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.8e-05/0.2489, allocations: 130.6 kB / 408.8 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.249, allocations: 18.14 kB / 408.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.249, allocations: 15.27 kB / 408.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.249, allocations: 2.219 kB / 408.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.249, allocations: 1.094 kB / 408.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.249, allocations: 0.75 kB / 408.8 MB, free: 5.078 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.000501/0.2495, allocations: 0.5976 MB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2496, allocations: 1.156 kB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.2497, allocations: 28.45 kB / 409.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.189e-05/0.2498, allocations: 17.19 kB / 409.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2498, allocations: 5.828 kB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.2504, allocations: 1.372 MB / 410.8 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2504, allocations: 5.75 kB / 410.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.2507, allocations: 296.2 kB / 411.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.2507, allocations: 85.89 kB / 411.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2507, allocations: 13.86 kB / 411.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.2508, allocations: 5.438 kB / 411.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2509, allocations: 9.391 kB / 411.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.2509, allocations: 7.969 kB / 411.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.2509, allocations: 94.81 kB / 411.3 MB, free: 2.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2509, allocations: 0 / 411.3 MB, free: 2.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.2512, allocations: 31.78 kB / 411.4 MB, free: 2.688 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.0004412/0.2517, allocations: 0.8377 MB / 412.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.252, allocations: 234.3 kB / 412.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2521, allocations: 0 / 412.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2522, allocations: 167 kB / 412.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.2525, allocations: 28.08 kB / 412.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2541, allocations: 1.844 MB / 414.5 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.2543, allocations: 0.7091 MB / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.2544, allocations: 11.14 kB / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.2545, allocations: 34.08 kB / 415.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2545, allocations: 0 / 415.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2771, allocations: 2.977 MB / 418.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.491/9.769, allocations: 14.12 kB / 418.2 MB, free: 14.88 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent_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_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)