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.001031/0.001031, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001338/0.001338, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9329/0.9329, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.002816/0.002816, allocations: 430.8 kB / 259.6 MB, free: 12.82 MB / 250.7 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 2.184e-06/2.184e-06, allocations: 0 / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.344e-05, allocations: 6.219 kB / 381.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003492/0.003516, allocations: 1.638 MB / 383.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.003769, allocations: 95.62 kB / 383.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.003824, allocations: 4 kB / 383.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.003871, allocations: 15.84 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.003953, allocations: 27.72 kB / 383.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.004075, allocations: 23.97 kB / 383.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.00418, allocations: 115.4 kB / 383.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004315, allocations: 23.97 kB / 383.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004416, allocations: 63.83 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.0045, allocations: 31.89 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.004528, allocations: 8 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.004542, allocations: 16 kB / 383.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.004565, allocations: 19.91 kB / 383.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.004601, allocations: 35.92 kB / 383.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004733, allocations: 103.7 kB / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004736, allocations: 0 / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004737, allocations: 0 / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00474, allocations: 0 / 384 MB, free: 13.88 MB / 362.7 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.0004191/0.00516, allocations: 326.1 kB / 384.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005199, allocations: 12.03 kB / 384.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.005233, allocations: 42.73 kB / 384.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.005262, allocations: 12.89 kB / 384.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.005402, allocations: 137.6 kB / 384.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005413, allocations: 8.562 kB / 384.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.005434, allocations: 4.375 kB / 384.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.005577, allocations: 101.7 kB / 384.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.00559, allocations: 0 / 384.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.005601, allocations: 4 kB / 384.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005607, allocations: 4 kB / 384.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.005689, allocations: 55.95 kB / 384.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.00609, allocations: 335.8 kB / 385 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.006217, allocations: 98.48 kB / 385.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.006258, allocations: 32.84 kB / 385.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.006268, allocations: 224 / 385.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.006285, allocations: 42.5 kB / 385.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.006286, allocations: 0 / 385.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007206/0.007007, allocations: 0.544 MB / 385.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.007033, allocations: 59.34 kB / 385.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.007107, allocations: 121.8 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.00712, allocations: 29.7 kB / 385.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.007169, allocations: 112.2 kB / 386 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007198, allocations: 55.48 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.007236, allocations: 37.7 kB / 386.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.007315, allocations: 318.8 kB / 386.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.007358, allocations: 35.98 kB / 386.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.007415, allocations: 66.48 kB / 386.5 MB, free: 11.07 MB / 362.7 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.0004296/0.007845, allocations: 248.1 kB / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007846, allocations: 0 / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001705/0.008016, allocations: 162.5 kB / 387 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.008028, allocations: 4 kB / 387 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008033, allocations: 4.062 kB / 387 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.962e-05/0.008123, allocations: 40.86 kB / 387 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.008172, allocations: 20 kB / 387 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/0.009046, allocations: 1.508 MB / 388.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.009074, allocations: 4.031 kB / 388.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009081, allocations: 8 kB / 388.5 MB, free: 8.941 MB / 362.7 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 8.227e-05/0.009164, allocations: 133.5 kB / 388.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.009179, allocations: 8.094 kB / 388.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.0092, allocations: 20.75 kB / 388.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009202, allocations: 4 kB / 388.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009204, allocations: 0 / 388.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.009206, allocations: 0 / 388.7 MB, free: 8.777 MB / 362.7 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.0003796/0.009586, allocations: 460.8 kB / 389.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009587, allocations: 0 / 389.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.009659, allocations: 32.08 kB / 389.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-05/0.009699, allocations: 20.84 kB / 389.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.009707, allocations: 3.938 kB / 389.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005244/0.01023, allocations: 1.271 MB / 390.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01023, allocations: 0 / 390.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.01045, allocations: 302.9 kB / 390.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.01046, allocations: 11.94 kB / 390.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.01047, allocations: 7.938 kB / 390.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.01051, allocations: 4 kB / 390.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.01053, allocations: 15.91 kB / 390.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01053, allocations: 8 kB / 390.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.01057, allocations: 96.8 kB / 390.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01057, allocations: 0 / 390.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01077, allocations: 35.94 kB / 390.9 MB, free: 6.32 MB / 362.7 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.000389/0.01116, allocations: 0.8341 MB / 391.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01143, allocations: 218.6 kB / 392 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01143, allocations: 4 kB / 392 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.01153, allocations: 170.5 kB / 392.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01174, allocations: 16.25 kB / 392.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.01298, allocations: 1.795 MB / 394 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.01305, allocations: 92.8 kB / 394.1 MB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01308, allocations: 13.14 kB / 394.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.01315, allocations: 36.48 kB / 394.1 MB, free: 2.945 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01315, allocations: 0 / 394.1 MB, free: 2.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.03329, allocations: 3.738 MB / 397.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.819, allocations: 4.062 kB / 397.9 MB, free: 15.44 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.806516540236771] Failed to read output from testmodel.py, exit status != 0: 7.903217393904924 7.91310305 7.906055882 Calling exit ...