Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001356/0.001356, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001936/0.001936, allocations: 220 kB / 22.24 MB, free: 5.109 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.812 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.003312/0.003312, allocations: 0.5771 MB / 313 MB, free: 2.336 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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.89 kB / 435.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09682, allocations: 53.53 MB / 488.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.00287/0.09969, allocations: 1.61 MB / 490.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.09999, allocations: 99.62 kB / 490.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.1, allocations: 0 / 490.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.1001, allocations: 15.86 kB / 490.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1002, allocations: 35.7 kB / 490.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.1003, allocations: 19.97 kB / 490.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1005, allocations: 107.5 kB / 490.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1006, allocations: 27.97 kB / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.1007, allocations: 39.86 kB / 490.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1008, allocations: 39.78 kB / 490.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1008, allocations: 8 kB / 490.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.1008, allocations: 8 kB / 490.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1009, allocations: 23.92 kB / 490.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.1009, allocations: 39.84 kB / 490.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1011, allocations: 119.8 kB / 490.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1011, allocations: 0 / 490.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1011, allocations: 0 / 490.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1011, allocations: 0 / 490.8 MB, free: 8.977 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005533/0.1017, allocations: 318.2 kB / 491.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1017, allocations: 8.031 kB / 491.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.1018, allocations: 50.67 kB / 491.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1018, allocations: 16.84 kB / 491.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.102, allocations: 122.5 kB / 491.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.102, allocations: 8.562 kB / 491.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.102, allocations: 16.33 kB / 491.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1022, allocations: 96.91 kB / 491.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1022, allocations: 4 kB / 491.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1022, allocations: 4 kB / 491.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1022, allocations: 0 / 491.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1024, allocations: 59.95 kB / 491.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.103, allocations: 331.8 kB / 491.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1032, allocations: 102.5 kB / 491.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.1032, allocations: 40.84 kB / 492 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1032, allocations: 0 / 492 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1033, allocations: 34.56 kB / 492 MB, free: 7.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1033, allocations: 0 / 492 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00117/0.1044, allocations: 0.5319 MB / 492.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1045, allocations: 55.41 kB / 492.6 MB, free: 7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1046, allocations: 125.8 kB / 492.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1046, allocations: 33.7 kB / 492.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1047, allocations: 108.3 kB / 492.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1047, allocations: 55.48 kB / 492.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.1048, allocations: 37.7 kB / 492.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.105, allocations: 322.8 kB / 493.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.105, allocations: 35.98 kB / 493.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.1051, allocations: 58.56 kB / 493.3 MB, free: 6.191 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.1058, allocations: 260.7 kB / 493.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1058, allocations: 3.938 kB / 493.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002801/0.1061, allocations: 162.4 kB / 493.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.1062, allocations: 7.984 kB / 493.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1062, allocations: 0 / 493.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.1063, allocations: 32.78 kB / 493.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1064, allocations: 20 kB / 493.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.1079, allocations: 1.508 MB / 495.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.108, allocations: 8.031 kB / 495.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.108, allocations: 4 kB / 495.3 MB, free: 4.055 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1081, allocations: 133.7 kB / 495.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1082, allocations: 11.91 kB / 495.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.1082, allocations: 17.02 kB / 495.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1082, allocations: 8.062 kB / 495.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1082, allocations: 4 kB / 495.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1082, allocations: 0 / 495.5 MB, free: 3.879 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.1089, allocations: 460.4 kB / 496 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1089, allocations: 0 / 496 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.109, allocations: 35.92 kB / 496 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.013e-05/0.1091, allocations: 16.84 kB / 496 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1091, allocations: 8.094 kB / 496 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1102, allocations: 1.267 MB / 497.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.1102, allocations: 11.95 kB / 497.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1106, allocations: 297.7 kB / 497.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.1106, allocations: 7.984 kB / 497.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1106, allocations: 7.938 kB / 497.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1107, allocations: 12.2 kB / 497.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.1107, allocations: 11.98 kB / 497.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1107, allocations: 8 kB / 497.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.1108, allocations: 95.27 kB / 497.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1108, allocations: 0 / 497.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1111, allocations: 32 kB / 497.8 MB, free: 1.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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.0007431/0.1119, allocations: 0.8366 MB / 498.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.1123, allocations: 218.6 kB / 498.8 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1123, allocations: 7.938 kB / 498.8 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.1125, allocations: 162.6 kB / 499 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1129, allocations: 22.22 kB / 499 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1152, allocations: 1.855 MB / 0.4891 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1153, allocations: 88.69 kB / 0.4892 GB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.1154, allocations: 17.08 kB / 0.4892 GB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1154, allocations: 23.44 kB / 0.4892 GB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1154, allocations: 0 / 0.4892 GB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.1485, allocations: 3.577 MB / 0.4927 GB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.74, allocations: 14.81 kB / 0.4927 GB, free: 10.62 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.537982802372426] Failed to read output from testmodel.py, exit status != 0: 11.8566371537745 12.071382779 11.967098712 Calling exit ...