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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 103.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002861/0.002861, allocations: 0.5775 MB / 309.4 MB, free: 3.695 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 72.12 kB / 430 MB, free: 18.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09417, allocations: 53.49 MB / 483.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001732/0.0959, allocations: 0.5048 MB / 484 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.09606, allocations: 34.52 kB / 484 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.09609, allocations: 0 / 484 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.0961, allocations: 0 / 484 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.204e-05/0.09613, allocations: 3.938 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.09624, allocations: 7.984 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.09631, allocations: 15.98 kB / 484 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.09636, allocations: 4 kB / 484 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.09638, allocations: 11.92 kB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.09644, allocations: 15.92 kB / 484.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.09645, allocations: 4 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.09646, allocations: 3.938 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.09648, allocations: 4 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.09651, allocations: 11.92 kB / 484.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.191e-05/0.09657, allocations: 20.12 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.09657, allocations: 0 / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09657, allocations: 0 / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09658, allocations: 4 kB / 484.1 MB, free: 12.35 MB / 350.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.0004087/0.09699, allocations: 331.5 kB / 484.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.09703, allocations: 12.03 kB / 484.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.09707, allocations: 34.75 kB / 484.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.0971, allocations: 4.938 kB / 484.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.09723, allocations: 164.4 kB / 484.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.09724, allocations: 4.375 kB / 484.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.09726, allocations: 4.375 kB / 484.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.09736, allocations: 46.25 kB / 484.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.09738, allocations: 7.938 kB / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.09739, allocations: 0 / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.09739, allocations: 7.875 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.09743, allocations: 19.98 kB / 484.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.09775, allocations: 244.9 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.09785, allocations: 58.48 kB / 485 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.0979, allocations: 20.97 kB / 485.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.09791, allocations: 3.938 kB / 485.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.09793, allocations: 34.56 kB / 485.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.09793, allocations: 0 / 485.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007572/0.09869, allocations: 0.4943 MB / 485.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.09873, allocations: 59.34 kB / 485.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.09881, allocations: 97.84 kB / 485.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.09883, allocations: 33.7 kB / 485.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.09888, allocations: 84.14 kB / 485.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.09892, allocations: 31.73 kB / 485.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.09895, allocations: 17.72 kB / 485.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.0991, allocations: 322.8 kB / 486.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.09913, allocations: 15.98 kB / 486.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.09918, allocations: 30.11 kB / 486.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.09951, allocations: 252.6 kB / 486.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09952, allocations: 0 / 486.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/0.09969, allocations: 98.66 kB / 486.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.0997, allocations: 4 kB / 486.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.0997, allocations: 240 / 486.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.09982, allocations: 24.78 kB / 486.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.09988, allocations: 12 kB / 486.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1011, allocations: 1.387 MB / 488 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.1011, allocations: 4.094 kB / 488 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1011, allocations: 8 kB / 488.1 MB, free: 7.895 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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.0001515/0.1012, allocations: 113.8 kB / 488.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1013, allocations: 11.89 kB / 488.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.1013, allocations: 11.95 kB / 488.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1013, allocations: 0 / 488.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.1013, allocations: 0 / 488.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1013, allocations: 0 / 488.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.1018, allocations: 377.8 kB / 488.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1018, allocations: 0 / 488.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1018, allocations: 12.03 kB / 488.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.1019, allocations: 28.78 kB / 488.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1019, allocations: 0 / 488.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.103, allocations: 1.396 MB / 490 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.103, allocations: 0 / 490 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1033, allocations: 230.8 kB / 490.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1033, allocations: 81.06 kB / 490.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1033, allocations: 11.94 kB / 490.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.1034, allocations: 0 / 490.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.1034, allocations: 12.05 kB / 490.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1034, allocations: 4 kB / 490.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.1035, allocations: 79.28 kB / 490.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1035, allocations: 3.938 kB / 490.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1037, allocations: 16 kB / 490.4 MB, free: 5.258 MB / 350.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.000562/0.1043, allocations: 0.7509 MB / 491.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1046, allocations: 166.5 kB / 491.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1046, allocations: 0 / 491.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1048, allocations: 142.7 kB / 491.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.105, allocations: 15.02 kB / 491.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1064, allocations: 1.4 MB / 492.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1067, allocations: 0.6807 MB / 493.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.1067, allocations: 4 kB / 493.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1068, allocations: 15.44 kB / 493.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1068, allocations: 0 / 493.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1339, allocations: 1.784 MB / 495.4 MB, free: 348 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.465/9.599, allocations: 11.31 kB / 495.4 MB, free: 340 kB / 350.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.177243533995352] Failed to read output from testmodel.py, exit status != 0: 9.676062458005617 9.693781641 9.592517587 Calling exit ...