Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001327/0.001327, 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.001437/0.001437, allocations: 220 kB / 22.26 MB, free: 5.121 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.443/1.443, 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.002927/0.002927, allocations: 0.58 MB / 313 MB, free: 2.5 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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.89 kB / 435.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 53.52 MB / 488.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002963/0.1081, allocations: 1.678 MB / 490.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.1084, allocations: 95.62 kB / 490.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1085, allocations: 0 / 490.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.1086, allocations: 19.84 kB / 490.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1087, allocations: 35.7 kB / 490.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.1088, allocations: 23.92 kB / 490.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1089, allocations: 107.5 kB / 490.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1091, allocations: 23.98 kB / 490.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.1092, allocations: 47.84 kB / 490.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1093, allocations: 39.84 kB / 490.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1093, allocations: 8 kB / 490.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.1093, allocations: 12 kB / 490.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1093, allocations: 15.92 kB / 490.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.1094, allocations: 55.73 kB / 490.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1096, allocations: 103.8 kB / 491 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1096, allocations: 7.922 kB / 491 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1096, allocations: 4 kB / 491 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1096, allocations: 0 / 491 MB, free: 9.172 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.0005696/0.1102, allocations: 318.2 kB / 491.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1102, allocations: 8.031 kB / 491.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1103, allocations: 38.75 kB / 491.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1103, allocations: 12.84 kB / 491.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1105, allocations: 130.4 kB / 491.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1105, allocations: 8.562 kB / 491.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.1105, allocations: 24.3 kB / 491.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1107, allocations: 91.11 kB / 491.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1107, allocations: 3.984 kB / 491.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1108, allocations: 7.938 kB / 491.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1108, allocations: 0 / 491.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1109, allocations: 55.97 kB / 491.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.1114, allocations: 359.7 kB / 492 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1116, allocations: 98.48 kB / 492.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.1117, allocations: 32.84 kB / 492.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1117, allocations: 0 / 492.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1117, allocations: 38.56 kB / 492.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1117, allocations: 0 / 492.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001091/0.1128, allocations: 0.5376 MB / 492.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1129, allocations: 51.41 kB / 492.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.113, allocations: 126.9 kB / 492.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.113, allocations: 33.64 kB / 492.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.1131, allocations: 100.3 kB / 493 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.1132, allocations: 71.45 kB / 493.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.1132, allocations: 37.72 kB / 493.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1134, allocations: 318.8 kB / 493.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.1135, allocations: 35.98 kB / 493.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.1136, allocations: 62.56 kB / 493.5 MB, free: 6.367 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.0007353/0.1143, allocations: 252.5 kB / 493.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1143, allocations: 3.938 kB / 493.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002777/0.1146, allocations: 170.3 kB / 493.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1146, allocations: 4 kB / 493.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1146, allocations: 0 / 493.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1147, allocations: 32.84 kB / 494 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.1148, allocations: 27.92 kB / 494 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1163, allocations: 1.516 MB / 495.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1163, allocations: 0 / 495.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1164, allocations: 8 kB / 495.5 MB, free: 4.223 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.0001563/0.1165, allocations: 132.2 kB / 495.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1166, allocations: 15.91 kB / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.1166, allocations: 20.77 kB / 495.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1166, allocations: 0 / 495.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1166, allocations: 0 / 495.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1166, allocations: 0 / 495.7 MB, free: 4.055 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.000801/0.1174, allocations: 0.5659 MB / 496.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1174, allocations: 3.938 kB / 496.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1175, allocations: 27.98 kB / 496.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.166e-05/0.1176, allocations: 16.86 kB / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1176, allocations: 0 / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009951/0.1186, allocations: 1.275 MB / 497.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1186, allocations: 7.922 kB / 497.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.119, allocations: 298.9 kB / 497.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.119, allocations: 7.984 kB / 497.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.119, allocations: 7.938 kB / 497.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1191, allocations: 4 kB / 497.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1191, allocations: 20.03 kB / 497.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1191, allocations: 4 kB / 497.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.1192, allocations: 99.64 kB / 498 MB, free: 1.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1192, allocations: 0 / 498 MB, free: 1.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1195, allocations: 32 kB / 498.1 MB, free: 1.461 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.0006959/0.1202, allocations: 0.8444 MB / 498.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.1206, allocations: 218.6 kB / 499.1 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1206, allocations: 4.125 kB / 499.1 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1208, allocations: 170.1 kB / 499.3 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1212, allocations: 19.92 kB / 499.3 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1233, allocations: 1.863 MB / 0.4894 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1237, allocations: 0.7046 MB / 0.4901 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.1237, allocations: 13.06 kB / 0.4901 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.1238, allocations: 35.44 kB / 0.4902 GB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1238, allocations: 0 / 0.4902 GB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.1554, allocations: 3.16 MB / 0.4932 GB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.79, allocations: 4.25 kB / 0.4932 GB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent_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_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.595522951996827] Failed to read output from testmodel.py, exit status != 0: 10.890855550002016 11.08770029 10.974990852 Calling exit ...