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.001304/0.001304, allocations: 112.5 kB / 15.73 MB, free: 76 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.001272/0.001272, allocations: 191.8 kB / 16.67 MB, free: 6.543 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.002556/0.002556, allocations: 0.5624 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.1931, allocations: 60.36 kB / 401.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.308, allocations: 49.59 MB / 451.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001583/0.3096, allocations: 0.5211 MB / 452 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.3098, allocations: 35 kB / 452.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.3099, allocations: 0 / 452.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3099, allocations: 3.938 kB / 452.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.31, allocations: 0 / 452.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.3101, allocations: 11.97 kB / 452.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.3102, allocations: 15.98 kB / 452.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.3102, allocations: 0 / 452.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.3103, allocations: 15.94 kB / 452.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.3103, allocations: 15.84 kB / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3104, allocations: 4 kB / 452.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.3104, allocations: 4 kB / 452.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.3104, allocations: 7.984 kB / 452.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.3104, allocations: 7.938 kB / 452.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.48e-05/0.3105, allocations: 19.91 kB / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3105, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3105, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3105, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.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.0004444/0.311, allocations: 339.1 kB / 452.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.311, allocations: 11.89 kB / 452.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.3111, allocations: 38.73 kB / 452.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3111, allocations: 8.891 kB / 452.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3113, allocations: 164.4 kB / 452.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3113, allocations: 4.375 kB / 452.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.3113, allocations: 384 / 452.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3114, allocations: 46.25 kB / 452.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3115, allocations: 11.88 kB / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3115, allocations: 0 / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3115, allocations: 0 / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.3115, allocations: 11.98 kB / 452.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.3118, allocations: 253 kB / 453 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.312, allocations: 54.5 kB / 453.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.312, allocations: 20.92 kB / 453.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.312, allocations: 0 / 453.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3121, allocations: 34.56 kB / 453.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.3121, allocations: 4 kB / 453.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007469/0.3128, allocations: 0.4981 MB / 453.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3129, allocations: 51.41 kB / 453.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.313, allocations: 105.8 kB / 453.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.313, allocations: 25.7 kB / 453.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.313, allocations: 92.14 kB / 453.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3131, allocations: 23.8 kB / 453.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3131, allocations: 25.66 kB / 454 MB, free: 3.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3132, allocations: 322.8 kB / 454.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.3133, allocations: 16 kB / 454.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.3133, allocations: 29.7 kB / 454.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.3136, allocations: 256 kB / 454.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3136, allocations: 0 / 454.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.3138, allocations: 86.38 kB / 454.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3138, allocations: 4 kB / 454.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3138, allocations: 0 / 454.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3138, allocations: 0 / 454.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.3139, allocations: 19.98 kB / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.3139, allocations: 4 kB / 454.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.3139, allocations: 12 kB / 454.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.314, allocations: 4 kB / 454.7 MB, free: 2.359 MB / 318.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.0001455/0.3141, allocations: 121.7 kB / 454.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3141, allocations: 7.953 kB / 454.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3142, allocations: 7.969 kB / 454.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3142, allocations: 0 / 454.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3142, allocations: 3.938 kB / 454.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3142, allocations: 7.938 kB / 454.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3146, allocations: 365.8 kB / 455.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3146, allocations: 3.984 kB / 455.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.3147, allocations: 8 kB / 455.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3148, allocations: 20.84 kB / 455.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3148, allocations: 0 / 455.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.3159, allocations: 1.395 MB / 456.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3159, allocations: 0 / 456.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3162, allocations: 231 kB / 456.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.3163, allocations: 85.08 kB / 456.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.3163, allocations: 0 / 456.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.3164, allocations: 0 / 456.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.3164, allocations: 16.14 kB / 457 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3164, allocations: 12 kB / 457 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.3165, allocations: 83.22 kB / 457 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3165, allocations: 0 / 457 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3167, allocations: 12 kB / 457.1 MB, free: 15.72 MB / 334.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.000562/0.3173, allocations: 0.7586 MB / 457.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.3174, allocations: 48.47 kB / 457.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3174, allocations: 0 / 457.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.3176, allocations: 142.9 kB / 458 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.3179, allocations: 6.031 kB / 458 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3191, allocations: 1.354 MB / 459.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3194, allocations: 0.6923 MB / 460.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.3194, allocations: 0 / 460.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3195, allocations: 15.44 kB / 460.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3195, allocations: 0 / 460.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5461/0.8656, allocations: 1.687 MB / 461.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.545/10.41, allocations: 8.859 kB / 461.8 MB, free: 11.07 MB / 334.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)