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.001284/0.001284, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001356/0.001356, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 8.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.002839/0.002839, allocations: 0.5703 MB / 309.4 MB, free: 3.699 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.001869/0.001869, allocations: 67.91 kB / 430 MB, free: 18.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09248, allocations: 53.49 MB / 483.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001592/0.09407, allocations: 0.5126 MB / 484 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.09422, allocations: 34.52 kB / 484 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.09424, allocations: 0 / 484 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.09426, allocations: 0 / 484 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.0943, allocations: 3.938 kB / 484 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.09441, allocations: 7.984 kB / 484 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.09447, allocations: 19.98 kB / 484.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.09452, allocations: 3.984 kB / 484.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.09454, allocations: 7.938 kB / 484.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.0946, allocations: 19.92 kB / 484.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.09461, allocations: 4 kB / 484.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.09462, allocations: 0 / 484.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.09464, allocations: 4 kB / 484.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.09467, allocations: 15.91 kB / 484.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.886e-05/0.09473, allocations: 16.14 kB / 484.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09473, allocations: 3.938 kB / 484.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09473, allocations: 0 / 484.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09474, allocations: 0 / 484.1 MB, free: 12.47 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.0004154/0.09515, allocations: 339.5 kB / 484.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.09519, allocations: 12.03 kB / 484.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.09523, allocations: 34.75 kB / 484.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.09525, allocations: 4.938 kB / 484.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.09538, allocations: 164.4 kB / 484.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.09539, allocations: 4.375 kB / 484.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.09541, allocations: 4.375 kB / 484.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.09551, allocations: 42.25 kB / 484.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.09552, allocations: 3.938 kB / 484.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.09553, allocations: 4 kB / 484.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.09554, allocations: 8 kB / 484.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.09559, allocations: 15.92 kB / 484.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.09589, allocations: 240.9 kB / 485 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.096, allocations: 54.56 kB / 485 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.09603, allocations: 20.97 kB / 485.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.09604, allocations: 7.984 kB / 485.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.09607, allocations: 38.5 kB / 485.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.09607, allocations: 0 / 485.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007615/0.09683, allocations: 0.502 MB / 485.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.09687, allocations: 51.41 kB / 485.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.09695, allocations: 105.8 kB / 485.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.09697, allocations: 29.7 kB / 485.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.09701, allocations: 84.14 kB / 485.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.09704, allocations: 31.73 kB / 485.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.09708, allocations: 21.72 kB / 485.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.09723, allocations: 322.8 kB / 486.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.09726, allocations: 12 kB / 486.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.09731, allocations: 38.11 kB / 486.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.09764, allocations: 252.5 kB / 486.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.09764, allocations: 0 / 486.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001277/0.09777, allocations: 77.69 kB / 486.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.09778, allocations: 4 kB / 486.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.09778, allocations: 3.938 kB / 486.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.09779, allocations: 0 / 486.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.09789, allocations: 19.98 kB / 486.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.0979, allocations: 8 kB / 486.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.09792, allocations: 3.938 kB / 486.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.09793, allocations: 4 kB / 486.7 MB, free: 9.57 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.0001369/0.09806, allocations: 113.8 kB / 486.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.09809, allocations: 7.953 kB / 486.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.09812, allocations: 7.969 kB / 486.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.09812, allocations: 0 / 486.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.09813, allocations: 4 kB / 486.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.09814, allocations: 7.938 kB / 486.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.09859, allocations: 365.8 kB / 487.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.09859, allocations: 4 kB / 487.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.09865, allocations: 11.92 kB / 487.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.09875, allocations: 24.84 kB / 487.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.09876, allocations: 4.094 kB / 487.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.09993, allocations: 1.395 MB / 488.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09993, allocations: 4.062 kB / 488.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1002, allocations: 214.9 kB / 488.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.1002, allocations: 96.95 kB / 488.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1002, allocations: 4.094 kB / 488.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.1003, allocations: 8 kB / 488.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.1003, allocations: 4 kB / 488.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.1003, allocations: 7.984 kB / 488.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.1004, allocations: 83.28 kB / 489 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1004, allocations: 0 / 489 MB, free: 6.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1006, allocations: 8 kB / 489 MB, free: 6.938 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.0005704/0.1012, allocations: 0.7625 MB / 489.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1013, allocations: 35.98 kB / 489.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1013, allocations: 4.062 kB / 489.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.1016, allocations: 146.6 kB / 490 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1018, allocations: 0 / 490 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.103, allocations: 1.348 MB / 491.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1033, allocations: 0.6885 MB / 492 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.068e-05/0.1034, allocations: 4 kB / 492 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1034, allocations: 11.44 kB / 492 MB, free: 3.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1034, allocations: 0 / 492 MB, free: 3.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.139, allocations: 1.699 MB / 493.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/9.575, allocations: 11.66 kB / 493.7 MB, free: 2.289 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.034069191999151] Failed to read output from testmodel.py, exit status != 0: 9.654176450989326 9.669196102 9.571696958 Calling exit ...