Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.001407/0.001407, 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.001306/0.001306, allocations: 192.4 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.246 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.003138/0.003138, allocations: 0.5585 MB / 291 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.89 kB / 351.7 MB, free: 2.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 49.6 MB / 401.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1963/0.2986, allocations: 1.639 MB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.2989, allocations: 89.77 kB / 403 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.299, allocations: 5.656 kB / 403 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.814e-05/0.2991, allocations: 16.06 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.2992, allocations: 27.73 kB / 403 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2993, allocations: 27.39 kB / 403.1 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2995, allocations: 107.8 kB / 403.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2996, allocations: 30.23 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.2997, allocations: 37.58 kB / 403.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.2998, allocations: 46.09 kB / 403.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2998, allocations: 8.5 kB / 403.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.2999, allocations: 13.09 kB / 403.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2999, allocations: 21.78 kB / 403.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.3, allocations: 44.2 kB / 403.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3001, allocations: 113.6 kB / 403.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3001, allocations: 1.094 kB / 403.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3001, allocations: 0 / 403.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3001, allocations: 0 / 403.5 MB, free: 9.773 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.0004515/0.3006, allocations: 395.8 kB / 403.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3006, allocations: 10.25 kB / 403.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.3007, allocations: 43.95 kB / 403.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.3007, allocations: 16.11 kB / 403.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3009, allocations: 189.2 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3009, allocations: 8.125 kB / 404.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3009, allocations: 15.03 kB / 404.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3011, allocations: 90.83 kB / 404.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3012, allocations: 0 / 404.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3012, allocations: 7.094 kB / 404.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3012, allocations: 6.312 kB / 404.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3013, allocations: 58.06 kB / 404.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.3019, allocations: 396.6 kB / 404.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3021, allocations: 103.4 kB / 404.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.3022, allocations: 37.44 kB / 404.8 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3022, allocations: 5.688 kB / 404.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3023, allocations: 39.62 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3023, allocations: 1.125 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00122/0.3035, allocations: 0.6788 MB / 405.5 MB, free: 7.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3036, allocations: 53.31 kB / 405.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3037, allocations: 129.1 kB / 405.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3037, allocations: 30.83 kB / 405.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.3038, allocations: 98.7 kB / 405.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3038, allocations: 55.58 kB / 405.9 MB, free: 7.645 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3039, allocations: 34.58 kB / 405.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.304, allocations: 320.1 kB / 406.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.304, allocations: 35.36 kB / 406.3 MB, free: 7.289 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.3041, allocations: 68.56 kB / 406.4 MB, free: 7.242 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.0008203/0.305, allocations: 411.2 kB / 406.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.305, allocations: 3.938 kB / 406.8 MB, free: 6.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003016/0.3053, allocations: 170.6 kB / 406.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3053, allocations: 5.5 kB / 406.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3053, allocations: 5.438 kB / 406.9 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3055, allocations: 27.2 kB / 407 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3056, allocations: 27.98 kB / 407 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3068, allocations: 1.614 MB / 408.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.3069, allocations: 1.094 kB / 408.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3069, allocations: 13.44 kB / 408.6 MB, free: 5.215 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 0.00013/0.307, allocations: 133 kB / 408.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3071, allocations: 9.078 kB / 408.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.3071, allocations: 19.69 kB / 408.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3071, allocations: 1.844 kB / 408.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3072, allocations: 1.125 kB / 408.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3072, allocations: 1.766 kB / 408.8 MB, free: 5.062 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.0005409/0.3077, allocations: 0.5943 MB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3077, allocations: 1.969 kB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3079, allocations: 28.11 kB / 409.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/0.3079, allocations: 21.11 kB / 409.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3079, allocations: 2.125 kB / 409.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005559/0.3085, allocations: 1.37 MB / 410.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3085, allocations: 5.281 kB / 410.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3088, allocations: 305 kB / 411.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.3088, allocations: 84.41 kB / 411.2 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3088, allocations: 11.75 kB / 411.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3089, allocations: 4.062 kB / 411.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.309, allocations: 17.61 kB / 411.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.309, allocations: 3.75 kB / 411.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.309, allocations: 96.86 kB / 411.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.309, allocations: 0 / 411.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.3093, allocations: 33 kB / 411.3 MB, free: 2.66 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.000489/0.3098, allocations: 0.8364 MB / 412.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3102, allocations: 242.9 kB / 412.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3103, allocations: 0 / 412.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3105, allocations: 165.7 kB / 412.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3108, allocations: 20.08 kB / 412.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3125, allocations: 1.849 MB / 414.5 MB, free: 12 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3129, allocations: 0.7087 MB / 415.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.313, allocations: 9 kB / 415.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.313, allocations: 28.64 kB / 415.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3131, allocations: 0 / 415.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3426, allocations: 2.972 MB / 418.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/9.86, allocations: 11.41 kB / 418.2 MB, free: 14.85 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial_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_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)