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.006813/0.006813, allocations: 98.81 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.002951/0.002951, allocations: 0.5663 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.199/0.199, allocations: 61.89 kB / 401.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.3084, allocations: 49.59 MB / 451.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002939/0.3114, allocations: 1.648 MB / 453.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.3117, allocations: 99.61 kB / 453.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.3118, allocations: 0 / 453.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.3119, allocations: 15.86 kB / 453.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.312, allocations: 35.7 kB / 453.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.3121, allocations: 23.91 kB / 453.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3123, allocations: 103.5 kB / 453.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3124, allocations: 39.95 kB / 453.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.3125, allocations: 39.92 kB / 453.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.3126, allocations: 39.78 kB / 453.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3126, allocations: 8 kB / 453.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.3126, allocations: 12 kB / 453.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.3127, allocations: 23.92 kB / 453.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.3127, allocations: 47.78 kB / 453.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3129, allocations: 111.3 kB / 453.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3129, allocations: 0 / 453.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.139e-06/0.3129, allocations: 0 / 453.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3129, allocations: 3.938 kB / 453.8 MB, free: 3.668 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006204/0.3136, allocations: 405.5 kB / 454.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3136, allocations: 8.031 kB / 454.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.3137, allocations: 46.73 kB / 454.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.3137, allocations: 8.891 kB / 454.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3139, allocations: 196.1 kB / 454.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3139, allocations: 8.562 kB / 454.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.3139, allocations: 12.38 kB / 454.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3141, allocations: 90.53 kB / 454.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3142, allocations: 0 / 454.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3142, allocations: 4 kB / 454.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3142, allocations: 8 kB / 454.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3143, allocations: 59.95 kB / 454.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.3149, allocations: 384.7 kB / 455 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3151, allocations: 102.5 kB / 455.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.3152, allocations: 32.8 kB / 455.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3152, allocations: 8 kB / 455.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3153, allocations: 34.56 kB / 455.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.3153, allocations: 0 / 455.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001217/0.3165, allocations: 0.6893 MB / 455.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3165, allocations: 59.41 kB / 455.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.3166, allocations: 114.9 kB / 456 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3167, allocations: 33.7 kB / 456 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3168, allocations: 100.4 kB / 456.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3169, allocations: 55.48 kB / 456.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3169, allocations: 37.7 kB / 456.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3171, allocations: 314.8 kB / 456.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.3172, allocations: 35.98 kB / 456.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.3173, allocations: 58.55 kB / 456.6 MB, free: 492 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3174, allocations: 110 kB / 456.7 MB, free: 376 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3174, allocations: 0 / 456.7 MB, free: 376 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002578/0.3177, allocations: 174.2 kB / 456.9 MB, free: 192 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3177, allocations: 4 kB / 456.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3177, allocations: 4.031 kB / 456.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.3179, allocations: 28.84 kB / 456.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.318, allocations: 23.98 kB / 456.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.3193, allocations: 1.611 MB / 458.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3194, allocations: 0 / 458.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3194, allocations: 8 kB / 458.6 MB, free: 14.36 MB / 334.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 9.581e-05/0.3195, allocations: 125.7 kB / 458.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.3195, allocations: 16 kB / 458.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.3196, allocations: 16.84 kB / 458.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.3196, allocations: 0 / 458.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3196, allocations: 7.938 kB / 458.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3196, allocations: 0 / 458.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.3204, allocations: 0.548 MB / 459.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3205, allocations: 4.094 kB / 459.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3206, allocations: 35.84 kB / 459.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/0.3207, allocations: 28.78 kB / 459.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3207, allocations: 4.062 kB / 459.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.3221, allocations: 1.359 MB / 460.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.3221, allocations: 4.031 kB / 460.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.3226, allocations: 311.8 kB / 461 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3227, allocations: 85.06 kB / 461.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3227, allocations: 8 kB / 461.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.3228, allocations: 0 / 461.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.3228, allocations: 19.92 kB / 461.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3228, allocations: 8.062 kB / 461.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.3229, allocations: 91.7 kB / 461.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3229, allocations: 0 / 461.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.3233, allocations: 36 kB / 461.3 MB, free: 11.4 MB / 334.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.0006475/0.3239, allocations: 0.8342 MB / 462.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.3243, allocations: 218.5 kB / 462.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3243, allocations: 0 / 462.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3246, allocations: 174.9 kB / 462.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.325, allocations: 20.06 kB / 462.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3274, allocations: 1.857 MB / 464.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3277, allocations: 0.7045 MB / 465.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.104e-05/0.3278, allocations: 9.094 kB / 465.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.3279, allocations: 31.42 kB / 465.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of SimCode: time 1.893e-06/0.3279, allocations: 0 / 465.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.3537, allocations: 2.987 MB / 468.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/9.629, allocations: 16.28 kB / 468.1 MB, free: 4.59 MB / 334.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)