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.001573/0.001573, 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.001706/0.001706, allocations: 199.2 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.586/1.586, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.003998/0.003998, allocations: 0.5619 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.91 kB / 351.7 MB, free: 2.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 49.6 MB / 401.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2286/0.366, allocations: 1.652 MB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.3663, allocations: 95.84 kB / 403 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3664, allocations: 1.812 kB / 403 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.439e-05/0.3665, allocations: 14.62 kB / 403 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.3667, allocations: 38.81 kB / 403.1 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.3669, allocations: 19.09 kB / 403.1 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.367, allocations: 108.8 kB / 403.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3672, allocations: 38.75 kB / 403.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.3673, allocations: 33.94 kB / 403.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3674, allocations: 45.67 kB / 403.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.3674, allocations: 10.06 kB / 403.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.3675, allocations: 7.875 kB / 403.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.3675, allocations: 21.41 kB / 403.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.3676, allocations: 52.88 kB / 403.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3678, allocations: 105 kB / 403.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3678, allocations: 0.9688 kB / 403.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3678, allocations: 0 / 403.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3678, allocations: 0 / 403.5 MB, free: 9.785 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.0005486/0.3684, allocations: 398.9 kB / 403.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3684, allocations: 13.52 kB / 403.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3685, allocations: 44.25 kB / 403.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.3685, allocations: 15.53 kB / 403.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3687, allocations: 189.1 kB / 404.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3687, allocations: 8.344 kB / 404.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.3687, allocations: 10.75 kB / 404.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3689, allocations: 100.2 kB / 404.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.369, allocations: 5.203 kB / 404.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.369, allocations: 4.531 kB / 404.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.369, allocations: 7.094 kB / 404.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3691, allocations: 55.81 kB / 404.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.3697, allocations: 392.9 kB / 404.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3699, allocations: 98.12 kB / 404.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.37, allocations: 38.28 kB / 404.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.37, allocations: 1.062 kB / 404.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.37, allocations: 36.47 kB / 404.9 MB, free: 8.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.37, allocations: 1.469 kB / 404.9 MB, free: 8.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001085/0.3711, allocations: 0.6848 MB / 405.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3711, allocations: 56.44 kB / 405.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.3712, allocations: 124.4 kB / 405.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3713, allocations: 27.39 kB / 405.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3713, allocations: 102.8 kB / 405.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3714, allocations: 63 kB / 405.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.3714, allocations: 34.73 kB / 406 MB, free: 7.613 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.3715, allocations: 320.6 kB / 406.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.3716, allocations: 34.38 kB / 406.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.3716, allocations: 62.98 kB / 406.4 MB, free: 7.246 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.0007594/0.3724, allocations: 411.1 kB / 406.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3724, allocations: 5.375 kB / 406.8 MB, free: 6.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000272/0.3727, allocations: 171.2 kB / 406.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3727, allocations: 5.094 kB / 406.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3727, allocations: 1.766 kB / 406.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.3729, allocations: 27.95 kB / 407 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.373, allocations: 30.39 kB / 407 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.374, allocations: 1.618 MB / 408.6 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.3741, allocations: 9.375 kB / 408.6 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3741, allocations: 4.188 kB / 408.6 MB, free: 5.219 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 8.758e-05/0.3742, allocations: 139.6 kB / 408.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3742, allocations: 9.344 kB / 408.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.3743, allocations: 19.58 kB / 408.8 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3743, allocations: 2.5 kB / 408.8 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3743, allocations: 4.531 kB / 408.8 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3743, allocations: 4 kB / 408.8 MB, free: 5.055 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.0005661/0.3749, allocations: 0.5855 MB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3749, allocations: 0 / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.375, allocations: 28.7 kB / 409.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/0.3751, allocations: 24 kB / 409.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3751, allocations: 6.953 kB / 409.5 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006739/0.3758, allocations: 1.366 MB / 410.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3758, allocations: 5.344 kB / 410.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3762, allocations: 297 kB / 411.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.3762, allocations: 86 kB / 411.2 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3762, allocations: 13.38 kB / 411.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.3763, allocations: 6.656 kB / 411.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.3763, allocations: 9.688 kB / 411.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3764, allocations: 11.91 kB / 411.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.3764, allocations: 97.03 kB / 411.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3764, allocations: 0 / 411.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.3767, allocations: 30.88 kB / 411.4 MB, free: 2.664 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.0004902/0.3772, allocations: 0.8293 MB / 412.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004461/0.3777, allocations: 233 kB / 412.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3777, allocations: 1.781 kB / 412.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3779, allocations: 169.3 kB / 412.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3782, allocations: 27.77 kB / 412.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3799, allocations: 1.846 MB / 414.5 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3804, allocations: 0.7045 MB / 415.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.3804, allocations: 14.91 kB / 415.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3805, allocations: 33.47 kB / 415.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3805, allocations: 3.938 kB / 415.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.4137, allocations: 2.982 MB / 418.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.64, allocations: 6.969 kB / 418.2 MB, free: 14.86 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)