Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001902/0.001902, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002104/0.002104, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.801 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.005351/0.005351, allocations: 0.58 MB / 313 MB, free: 2.426 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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 59.89 kB / 435.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09282, allocations: 53.52 MB / 488.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001675/0.0945, allocations: 0.5149 MB / 489.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.09467, allocations: 19.92 kB / 489.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.09469, allocations: 8 kB / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.09471, allocations: 0 / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.09474, allocations: 3.938 kB / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.09485, allocations: 7.984 kB / 489.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.09491, allocations: 19.97 kB / 489.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.09495, allocations: 4.406 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.09498, allocations: 7.938 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.09505, allocations: 7.984 kB / 489.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.09506, allocations: 0 / 489.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.09507, allocations: 4 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.0951, allocations: 23.84 kB / 489.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.09512, allocations: 7.938 kB / 489.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.489e-05/0.09518, allocations: 20.14 kB / 489.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09518, allocations: 0 / 489.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09519, allocations: 0 / 489.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.09519, allocations: 0 / 489.3 MB, free: 10.66 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.0003645/0.09556, allocations: 254.4 kB / 489.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.09559, allocations: 12.03 kB / 489.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.09563, allocations: 34.73 kB / 489.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.09565, allocations: 4.938 kB / 489.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.09576, allocations: 114.5 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.09577, allocations: 4.375 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.09579, allocations: 4.312 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.971e-05/0.09589, allocations: 46.25 kB / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.0959, allocations: 7.938 kB / 489.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.09591, allocations: 0 / 489.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.09591, allocations: 0 / 489.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.09595, allocations: 19.92 kB / 489.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.09625, allocations: 224 kB / 490 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.09635, allocations: 54.5 kB / 490 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.09639, allocations: 24.97 kB / 490.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.0964, allocations: 0 / 490.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.09643, allocations: 38.5 kB / 490.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.09643, allocations: 0 / 490.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006517/0.09708, allocations: 351.9 kB / 490.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.09713, allocations: 55.41 kB / 490.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.0972, allocations: 101.8 kB / 490.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.09722, allocations: 25.7 kB / 490.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.09726, allocations: 84.14 kB / 490.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.0973, allocations: 31.75 kB / 490.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.09733, allocations: 25.7 kB / 490.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.09747, allocations: 318.8 kB / 491.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.0975, allocations: 15.98 kB / 491.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.09755, allocations: 29.7 kB / 491.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.0978, allocations: 97.62 kB / 491.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.0978, allocations: 0 / 491.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001226/0.09792, allocations: 85.83 kB / 491.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.09793, allocations: 4.094 kB / 491.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.09793, allocations: 4.812 kB / 491.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09795, allocations: 4 kB / 491.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.09806, allocations: 23.98 kB / 491.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.09806, allocations: 4 kB / 491.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.09808, allocations: 3.938 kB / 491.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.09809, allocations: 7.938 kB / 491.3 MB, free: 8.332 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.09824, allocations: 109.8 kB / 491.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.09826, allocations: 7.953 kB / 491.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.09829, allocations: 12.06 kB / 491.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.0983, allocations: 0 / 491.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.0983, allocations: 8 kB / 491.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.09831, allocations: 7.922 kB / 491.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.09877, allocations: 336.9 kB / 491.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.09878, allocations: 3.938 kB / 491.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.09883, allocations: 8 kB / 491.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.632e-05/0.09891, allocations: 16.84 kB / 491.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.09893, allocations: 8 kB / 491.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1, allocations: 1.28 MB / 493.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1, allocations: 0 / 493.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1003, allocations: 230.9 kB / 493.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1003, allocations: 11.88 kB / 493.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1003, allocations: 4 kB / 493.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.1004, allocations: 0 / 493.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1004, allocations: 11.98 kB / 493.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.1004, allocations: 4 kB / 493.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.1005, allocations: 79.28 kB / 493.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1005, allocations: 128 / 493.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1007, allocations: 16 kB / 493.5 MB, free: 5.969 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.0005439/0.1012, allocations: 0.7469 MB / 494.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1014, allocations: 47.98 kB / 494.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1014, allocations: 0 / 494.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.1016, allocations: 142.6 kB / 494.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1019, allocations: 12.25 kB / 494.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1031, allocations: 1.361 MB / 495.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.1032, allocations: 63.34 kB / 495.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.1032, allocations: 4 kB / 495.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1032, allocations: 15.44 kB / 495.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1032, allocations: 7.875 kB / 495.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.1338, allocations: 2.104 MB / 498 MB, free: 1.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.7, allocations: 15.42 kB / 498 MB, free: 1.465 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState_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_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.380965793970972] Failed to read output from testmodel.py, exit status != 0: 11.816375915892422 11.833170404 11.735007766 Calling exit ...