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.001304/0.001304, 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.001301/0.001301, allocations: 195.5 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.533/1.533, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.003028/0.003028, allocations: 0.5697 MB / 291 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1101, allocations: 49.6 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2019/0.312, allocations: 1.655 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.3123, allocations: 92.39 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.3124, allocations: 2.062 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.3125, allocations: 17.47 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3126, allocations: 31.84 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.3128, allocations: 22.83 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3129, allocations: 110.3 kB / 403.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3131, allocations: 31.97 kB / 403.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.3132, allocations: 37.59 kB / 403.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.3133, allocations: 45.73 kB / 403.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.3133, allocations: 8.938 kB / 403.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.3133, allocations: 8.594 kB / 403.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.3134, allocations: 18.67 kB / 403.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.3134, allocations: 54.7 kB / 403.4 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3136, allocations: 106.3 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3136, allocations: 0 / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3136, allocations: 0 / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3136, allocations: 0.9062 kB / 403.5 MB, free: 9.809 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.0005602/0.3142, allocations: 400.2 kB / 403.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3143, allocations: 15.86 kB / 403.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.3143, allocations: 41.31 kB / 403.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3143, allocations: 13.62 kB / 403.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3145, allocations: 192.9 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3145, allocations: 4.406 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3146, allocations: 15 kB / 404.2 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3148, allocations: 95.72 kB / 404.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3148, allocations: 2.234 kB / 404.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3149, allocations: 1.938 kB / 404.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3149, allocations: 2.75 kB / 404.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.315, allocations: 61.62 kB / 404.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.3157, allocations: 388.4 kB / 404.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.3159, allocations: 104.7 kB / 404.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.316, allocations: 41.52 kB / 404.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.316, allocations: 5 kB / 404.8 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.316, allocations: 32.23 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.316, allocations: 0.5312 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001163/0.3172, allocations: 0.687 MB / 405.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.3173, allocations: 57.66 kB / 405.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.3174, allocations: 124 kB / 405.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3174, allocations: 26.8 kB / 405.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.3174, allocations: 106.6 kB / 405.9 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3175, allocations: 54.92 kB / 405.9 MB, free: 7.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3175, allocations: 30.59 kB / 406 MB, free: 7.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.3176, allocations: 324.5 kB / 406.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.3177, allocations: 33.91 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.3178, allocations: 65.66 kB / 406.4 MB, free: 7.273 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.000849/0.3186, allocations: 410.1 kB / 406.8 MB, free: 6.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3186, allocations: 5 kB / 406.8 MB, free: 6.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002807/0.3189, allocations: 171.5 kB / 406.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.319, allocations: 5.875 kB / 406.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.319, allocations: 9.688 kB / 407 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.3191, allocations: 27.31 kB / 407 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3192, allocations: 23.3 kB / 407 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.3202, allocations: 1.618 MB / 408.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.3203, allocations: 5.156 kB / 408.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3203, allocations: 7.219 kB / 408.6 MB, free: 5.246 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 9.231e-05/0.3204, allocations: 140 kB / 408.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.3205, allocations: 9.5 kB / 408.8 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3205, allocations: 17.95 kB / 408.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3205, allocations: 2.469 kB / 408.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3205, allocations: 0 / 408.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3205, allocations: 1.156 kB / 408.8 MB, free: 5.09 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.0005641/0.3211, allocations: 0.599 MB / 409.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3211, allocations: 1.094 kB / 409.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3212, allocations: 27.94 kB / 409.4 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.62e-05/0.3213, allocations: 20.72 kB / 409.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3213, allocations: 6.188 kB / 409.5 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006276/0.322, allocations: 1.366 MB / 410.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.322, allocations: 5.031 kB / 410.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3223, allocations: 307 kB / 411.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.3224, allocations: 84.23 kB / 411.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3224, allocations: 14.16 kB / 411.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3225, allocations: 7.938 kB / 411.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.3225, allocations: 8.641 kB / 411.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3225, allocations: 3.312 kB / 411.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.3226, allocations: 96.62 kB / 411.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3226, allocations: 0 / 411.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.3229, allocations: 32.84 kB / 411.4 MB, free: 2.695 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.0005003/0.3234, allocations: 0.8377 MB / 412.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3238, allocations: 229.4 kB / 412.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3238, allocations: 2.844 kB / 412.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.324, allocations: 163.8 kB / 412.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3243, allocations: 17.41 kB / 412.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3263, allocations: 1.861 MB / 414.5 MB, free: 48 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3267, allocations: 0.7039 MB / 415.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.3268, allocations: 10.41 kB / 415.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3268, allocations: 27.81 kB / 415.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3269, allocations: 4 kB / 415.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.3667, allocations: 2.986 MB / 418.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/9.961, allocations: 10.03 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)