Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.002032/0.002032, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002594/0.002594, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.977 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.002774/0.002774, allocations: 0.5773 MB / 313 MB, free: 2.512 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 435.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.0994, allocations: 53.52 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.00169/0.1011, allocations: 0.5157 MB / 489.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.1013, allocations: 28.25 kB / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.1013, allocations: 0 / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1013, allocations: 0 / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.1013, allocations: 3.938 kB / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.1015, allocations: 7.984 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.1015, allocations: 15.98 kB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1016, allocations: 0 / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.1016, allocations: 11.94 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.1017, allocations: 19.91 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1017, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.1017, allocations: 4 kB / 489.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1017, allocations: 4 kB / 489.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1017, allocations: 11.92 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.422e-05/0.1018, allocations: 8.156 kB / 489.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1018, allocations: 4 kB / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1018, allocations: 0 / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1018, allocations: 7.984 kB / 489.3 MB, free: 10.82 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.0004143/0.1022, allocations: 258.3 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1023, allocations: 12.03 kB / 489.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1023, allocations: 30.75 kB / 489.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1023, allocations: 4.938 kB / 489.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1024, allocations: 110.5 kB / 489.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1025, allocations: 8.375 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1025, allocations: 384 / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1026, allocations: 46.23 kB / 489.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1026, allocations: 3.938 kB / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1026, allocations: 8 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1026, allocations: 4 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.1027, allocations: 15.92 kB / 489.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1031, allocations: 243.8 kB / 490.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.1031, allocations: 38.62 kB / 490.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.1032, allocations: 8.859 kB / 490.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.1032, allocations: 0 / 490.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1032, allocations: 46.5 kB / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.1032, allocations: 0 / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003697/0.1036, allocations: 78.61 kB / 490.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1036, allocations: 55.34 kB / 490.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.1037, allocations: 97.84 kB / 490.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1037, allocations: 29.7 kB / 490.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.1038, allocations: 84.09 kB / 490.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1038, allocations: 15.91 kB / 490.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1038, allocations: 21.7 kB / 490.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.104, allocations: 322.7 kB / 490.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.104, allocations: 11.94 kB / 490.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.104, allocations: 21.7 kB / 490.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.1041, allocations: 29.72 kB / 490.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1041, allocations: 4 kB / 490.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001329/0.1042, allocations: 78.47 kB / 491 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1042, allocations: 8 kB / 491 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1042, allocations: 0 / 491 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.1043, allocations: 12.86 kB / 491 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.1044, allocations: 12.11 kB / 491 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.1054, allocations: 1.256 MB / 492.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.1054, allocations: 0 / 492.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1054, allocations: 4.156 kB / 492.3 MB, free: 7.539 MB / 350.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.993e-05/0.1055, allocations: 121.7 kB / 492.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1055, allocations: 4 kB / 492.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.1056, allocations: 3.688 kB / 492.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1056, allocations: 4 kB / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1056, allocations: 0 / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1056, allocations: 0 / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1057, allocations: 136.6 kB / 492.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1057, allocations: 0 / 492.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1058, allocations: 4 kB / 492.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.1058, allocations: 20.84 kB / 492.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1058, allocations: 0 / 492.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008912/0.1067, allocations: 1.244 MB / 493.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.1067, allocations: 7.922 kB / 493.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.1069, allocations: 176.3 kB / 494 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-06/0.1069, allocations: 4.156 kB / 494 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1069, allocations: 7.969 kB / 494 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.107, allocations: 3.938 kB / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.107, allocations: 3.984 kB / 494 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.107, allocations: 4 kB / 494 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.107, allocations: 79.28 kB / 494.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.107, allocations: 0 / 494.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1073, allocations: 8 kB / 494.1 MB, free: 5.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0005065/0.1078, allocations: 0.7056 MB / 494.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.108, allocations: 138.7 kB / 494.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.108, allocations: 0 / 494.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1082, allocations: 130.8 kB / 495.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1084, allocations: 7.938 kB / 495.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1095, allocations: 1.284 MB / 496.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1098, allocations: 0.6807 MB / 497 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.1098, allocations: 4 kB / 497.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1099, allocations: 15.44 kB / 497.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1099, allocations: 0 / 497.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1393, allocations: 1.602 MB / 498.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.63, allocations: 0 / 498.7 MB, free: 0.9648 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial_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_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.232547964002151] Failed to read output from testmodel.py, exit status != 0: 10.737106944001425 10.76300577 10.656745786 Calling exit ...