Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001556/0.001556, 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.001289/0.001289, allocations: 199.4 kB / 16.54 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.003099/0.003099, allocations: 0.566 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 67.91 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1114, allocations: 49.6 MB / 401.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1928/0.3043, allocations: 1.636 MB / 402.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.3045, allocations: 88.16 kB / 403 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.3046, allocations: 1.938 kB / 403 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.3047, allocations: 20.92 kB / 403 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.935e-05/0.3048, allocations: 27.38 kB / 403 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.3049, allocations: 25.45 kB / 403.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.305, allocations: 108.3 kB / 403.2 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3052, allocations: 35.19 kB / 403.2 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.3053, allocations: 33.23 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3054, allocations: 51.28 kB / 403.3 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3054, allocations: 9.25 kB / 403.3 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.3055, allocations: 9.125 kB / 403.3 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.3055, allocations: 17.97 kB / 403.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3056, allocations: 55.81 kB / 403.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3058, allocations: 105.8 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3058, allocations: 0 / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3058, allocations: 0 / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3058, allocations: 0.6562 kB / 403.5 MB, free: 9.836 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.0004882/0.3063, allocations: 397.4 kB / 403.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3064, allocations: 11.03 kB / 403.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.3064, allocations: 47.98 kB / 403.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3064, allocations: 14.59 kB / 403.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3066, allocations: 186.2 kB / 404.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3067, allocations: 8.625 kB / 404.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3067, allocations: 10.97 kB / 404.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3069, allocations: 104.4 kB / 404.2 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.307, allocations: 0.6562 kB / 404.2 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.307, allocations: 5.297 kB / 404.2 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.307, allocations: 6.906 kB / 404.3 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3071, allocations: 55.45 kB / 404.3 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3077, allocations: 388.7 kB / 404.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3079, allocations: 104.4 kB / 404.8 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.3079, allocations: 37.11 kB / 404.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.308, allocations: 1.344 kB / 404.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.308, allocations: 32.42 kB / 404.9 MB, free: 8.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.308, allocations: 0 / 404.9 MB, free: 8.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009698/0.309, allocations: 0.6906 MB / 405.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.309, allocations: 53.75 kB / 405.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.3091, allocations: 128.8 kB / 405.7 MB, free: 7.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3091, allocations: 26.83 kB / 405.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.3091, allocations: 102.3 kB / 405.9 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3092, allocations: 54.77 kB / 405.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.3092, allocations: 31.03 kB / 405.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.3093, allocations: 320.3 kB / 406.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.3094, allocations: 36.64 kB / 406.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.3094, allocations: 58.94 kB / 406.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3096, allocations: 107.8 kB / 406.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3096, allocations: 0 / 406.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002252/0.3098, allocations: 161.5 kB / 406.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3098, allocations: 5.438 kB / 406.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3098, allocations: 1.594 kB / 406.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.31, allocations: 30.69 kB / 406.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3101, allocations: 27.31 kB / 406.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.3109, allocations: 1.624 MB / 408.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.311, allocations: 8.75 kB / 408.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.311, allocations: 4.625 kB / 408.3 MB, free: 5.512 MB / 286.1 MB 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 6.664e-05/0.3111, allocations: 131.9 kB / 408.4 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3111, allocations: 9.125 kB / 408.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.3112, allocations: 18.81 kB / 408.5 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3112, allocations: 5.781 kB / 408.5 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3112, allocations: 5.062 kB / 408.5 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3112, allocations: 4.828 kB / 408.5 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.3117, allocations: 0.537 MB / 409 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3118, allocations: 1.188 kB / 409 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3119, allocations: 33.02 kB / 409 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.3119, allocations: 24.25 kB / 409.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.312, allocations: 7.062 kB / 409.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005451/0.3125, allocations: 1.359 MB / 410.4 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3125, allocations: 5.25 kB / 410.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3128, allocations: 307.7 kB / 410.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.3129, allocations: 85.44 kB / 410.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3129, allocations: 2.375 kB / 410.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.313, allocations: 6 kB / 410.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.313, allocations: 22.69 kB / 410.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.313, allocations: 8.719 kB / 410.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.3131, allocations: 94.27 kB / 411 MB, free: 3.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3131, allocations: 0 / 411 MB, free: 3.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.3134, allocations: 29.09 kB / 411 MB, free: 3.016 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0004628/0.3139, allocations: 0.8361 MB / 411.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3142, allocations: 228.2 kB / 412 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3142, allocations: 1.969 kB / 412 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3144, allocations: 169.2 kB / 412.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3148, allocations: 24.44 kB / 412.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3164, allocations: 1.832 MB / 414.1 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3166, allocations: 0.7048 MB / 414.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.3167, allocations: 13.64 kB / 414.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.3168, allocations: 26.83 kB / 414.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.325e-06/0.3168, allocations: 0 / 414.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3455, allocations: 2.925 MB / 417.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.585/9.931, allocations: 15.72 kB / 417.8 MB, free: 15.21 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial_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_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)