Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.0008225/0.0008227, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007772/0.007773, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.003443/0.003443, allocations: 0.5617 MB / 292 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003716, allocations: 4 kB / 353.4 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3883, allocations: 50.57 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0007783/0.3891, allocations: 244 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.3893, allocations: 24.33 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.3893, allocations: 0 / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.3894, allocations: 7.344 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.3894, allocations: 0.625 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.3895, allocations: 6.844 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.3896, allocations: 14.83 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.3897, allocations: 5.328 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.744e-05/0.3897, allocations: 11.36 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.3898, allocations: 13.12 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3898, allocations: 1.875 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.3898, allocations: 1.031 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3899, allocations: 7.875 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.3899, allocations: 38.36 kB / 404.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.979e-05/0.39, allocations: 12.2 kB / 404.4 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.39, allocations: 0.9688 kB / 404.4 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.39, allocations: 0 / 404.4 MB, free: 10 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.39, allocations: 0 / 404.4 MB, free: 10 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003322/0.3904, allocations: 330.2 kB / 404.7 MB, free: 9.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3904, allocations: 10 kB / 404.7 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.3904, allocations: 43.52 kB / 404.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3905, allocations: 7.906 kB / 404.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.3906, allocations: 162.9 kB / 404.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3906, allocations: 2.188 kB / 404.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3906, allocations: 6.75 kB / 404.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3908, allocations: 42.52 kB / 404.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3908, allocations: 4.438 kB / 404.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3908, allocations: 1.141 kB / 405 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3908, allocations: 0.8438 kB / 405 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.3909, allocations: 13.8 kB / 405 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.3912, allocations: 260 kB / 405.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3913, allocations: 54.38 kB / 405.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3914, allocations: 18.56 kB / 405.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3914, allocations: 1.719 kB / 405.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3914, allocations: 31.28 kB / 405.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3914, allocations: 5.156 kB / 405.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007302/0.3921, allocations: 0.4937 MB / 405.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3922, allocations: 54.16 kB / 405.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.3923, allocations: 103.9 kB / 406 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3923, allocations: 26.61 kB / 406 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.3923, allocations: 93.17 kB / 406.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3924, allocations: 27.89 kB / 406.1 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.3924, allocations: 17.88 kB / 406.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.3924, allocations: 318.4 kB / 406.4 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.3925, allocations: 13.89 kB / 406.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.3925, allocations: 32.02 kB / 406.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.3928, allocations: 251 kB / 406.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3929, allocations: 0.6094 kB / 406.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.393, allocations: 96.95 kB / 406.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3931, allocations: 5.969 kB / 406.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3931, allocations: 0.5625 kB / 406.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.3932, allocations: 27.61 kB / 406.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.3933, allocations: 10.64 kB / 406.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008365/0.3941, allocations: 1.287 MB / 408.2 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.3942, allocations: 5.156 kB / 408.2 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3942, allocations: 3.516 kB / 408.2 MB, free: 6.379 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 sytem: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.3943, allocations: 114.6 kB / 408.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3944, allocations: 11.12 kB / 408.3 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3944, allocations: 13.2 kB / 408.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3944, allocations: 1.438 kB / 408.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3944, allocations: 0.9062 kB / 408.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3944, allocations: 0.5156 kB / 408.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.3949, allocations: 375.8 kB / 408.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3949, allocations: 1.062 kB / 408.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.395, allocations: 13.67 kB / 408.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.3951, allocations: 21.44 kB / 408.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3951, allocations: 3.203 kB / 408.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007547/0.3958, allocations: 1.296 MB / 410 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3958, allocations: 1.031 kB / 410 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.3961, allocations: 233.3 kB / 410.2 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3961, allocations: 82.33 kB / 410.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.3961, allocations: 2.109 kB / 410.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.3962, allocations: 2.5 kB / 410.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3962, allocations: 11.83 kB / 410.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.3963, allocations: 3.469 kB / 410.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.3963, allocations: 88.92 kB / 410.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3963, allocations: 0 / 410.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3965, allocations: 11.66 kB / 410.4 MB, free: 4.254 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.397, allocations: 0.7563 MB / 411.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3973, allocations: 164.3 kB / 411.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3973, allocations: 0.5625 kB / 411.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3975, allocations: 144 kB / 411.5 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3978, allocations: 9.688 kB / 411.5 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.399, allocations: 1.416 MB / 412.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3991, allocations: 0.6861 MB / 413.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.3992, allocations: 3.297 kB / 413.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3992, allocations: 17.16 kB / 413.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3992, allocations: 3.938 kB / 413.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/0.5823, allocations: 1.533 MB / 415.2 MB, free: 1.195 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.5826, allocations: 289.1 kB / 415.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.467, allocations: 5.438 kB / 415.5 MB, free: 0.8164 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)