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.001599/0.001599, 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.001827/0.001827, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.342/1.342, 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.003014/0.003014, allocations: 0.5701 MB / 291 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 351.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09247, allocations: 49.59 MB / 401.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.00176/0.09427, allocations: 0.5146 MB / 401.8 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.09445, allocations: 23.91 kB / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.09449, allocations: 0 / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.09451, allocations: 0 / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.251e-05/0.09455, allocations: 7.938 kB / 401.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.09469, allocations: 11.97 kB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.09475, allocations: 15.98 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.0948, allocations: 7.938 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1612/0.256, allocations: 8.891 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2561, allocations: 14.66 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2562, allocations: 1.875 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.2562, allocations: 1.156 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.2562, allocations: 2.516 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2563, allocations: 17.45 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.233e-05/0.2564, allocations: 9.656 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2564, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2564, allocations: 1.062 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2564, allocations: 0 / 401.9 MB, free: 10.35 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.0004077/0.2568, allocations: 338.2 kB / 402.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2569, allocations: 20.7 kB / 402.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.2569, allocations: 32.48 kB / 402.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.2569, allocations: 6.344 kB / 402.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.257, allocations: 166.8 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.257, allocations: 2.094 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2571, allocations: 4.094 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2572, allocations: 45.89 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2572, allocations: 5 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2572, allocations: 1 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2572, allocations: 1.719 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.2573, allocations: 18.08 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.2576, allocations: 252.5 kB / 402.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2577, allocations: 53.02 kB / 402.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.2577, allocations: 21.48 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2577, allocations: 1.281 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2578, allocations: 37.3 kB / 402.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2578, allocations: 0 / 402.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006497/0.2584, allocations: 0.5005 MB / 403.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2585, allocations: 53.12 kB / 403.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.475e-05/0.2585, allocations: 99.14 kB / 403.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2585, allocations: 33.73 kB / 403.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.2586, allocations: 83.67 kB / 403.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2586, allocations: 26.16 kB / 403.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.2586, allocations: 24.12 kB / 403.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.2587, allocations: 321.8 kB / 404 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.2587, allocations: 14.2 kB / 404 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.2588, allocations: 33.52 kB / 404 MB, free: 8.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.2591, allocations: 256.1 kB / 404.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2591, allocations: 0 / 404.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.2592, allocations: 81.97 kB / 404.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2592, allocations: 5.125 kB / 404.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2592, allocations: 1.953 kB / 404.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2592, allocations: 4.781 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2594, allocations: 19.12 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2594, allocations: 5.188 kB / 404.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.2594, allocations: 13.2 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2594, allocations: 1.656 kB / 404.4 MB, free: 8.031 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.0001568/0.2596, allocations: 117.6 kB / 404.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.2596, allocations: 3.25 kB / 404.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.2597, allocations: 7.766 kB / 404.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2597, allocations: 1.469 kB / 404.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2597, allocations: 1 kB / 404.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2597, allocations: 12.62 kB / 404.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.26, allocations: 371.8 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2601, allocations: 1.75 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.2601, allocations: 8.094 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.2602, allocations: 21.09 kB / 405 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2602, allocations: 10.36 kB / 405 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/0.2609, allocations: 1.389 MB / 406.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.261, allocations: 5.75 kB / 406.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.2611, allocations: 215.9 kB / 406.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.2612, allocations: 92.19 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2612, allocations: 6.641 kB / 406.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.2612, allocations: 4.469 kB / 406.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2613, allocations: 6.328 kB / 406.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2613, allocations: 3.625 kB / 406.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.983e-05/0.2613, allocations: 81.17 kB / 406.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2613, allocations: 0 / 406.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.2616, allocations: 10.69 kB / 406.8 MB, free: 5.824 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.0003506/0.2619, allocations: 0.7572 MB / 407.5 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.262, allocations: 51.81 kB / 407.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.262, allocations: 0 / 407.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2623, allocations: 142.9 kB / 407.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.2625, allocations: 6.359 kB / 407.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.2633, allocations: 1.35 MB / 409.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2634, allocations: 0.6911 MB / 409.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.2634, allocations: 3.672 kB / 409.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2635, allocations: 11.48 kB / 409.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2635, allocations: 0 / 409.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.2828, allocations: 1.635 MB / 411.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/9.173, allocations: 13.53 kB / 411.4 MB, free: 2.73 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)