Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.0008153/0.0008153, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008551/0.0008551, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.002175/0.002175, allocations: 427 kB / 259.6 MB, free: 12.84 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.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 381.8 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.838e-05, allocations: 2.281 kB / 381.8 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002241/0.00226, allocations: 1.607 MB / 383.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.002493, allocations: 103.6 kB / 383.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.002545, allocations: 0 / 383.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/0.002588, allocations: 15.86 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.198e-05/0.00267, allocations: 43.64 kB / 383.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.002779, allocations: 19.97 kB / 383.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.002877, allocations: 111.4 kB / 383.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.002987, allocations: 20 kB / 383.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.003065, allocations: 67.86 kB / 383.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.003131, allocations: 31.91 kB / 383.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003154, allocations: 8 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.003167, allocations: 8 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.003189, allocations: 27.84 kB / 383.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.00322, allocations: 39.91 kB / 383.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.003342, allocations: 111.6 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003344, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.003345, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.00335, allocations: 0 / 384 MB, free: 13.91 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.0003638/0.003713, allocations: 329 kB / 384.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003747, allocations: 8.031 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.00378, allocations: 46.73 kB / 384.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.003804, allocations: 12.89 kB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.003926, allocations: 133.6 kB / 384.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003934, allocations: 4.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.003957, allocations: 12.38 kB / 384.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.004092, allocations: 93.53 kB / 384.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.004106, allocations: 11.98 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004115, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004119, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.0042, allocations: 55.97 kB / 384.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.004585, allocations: 339.8 kB / 385 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.004715, allocations: 106.4 kB / 385.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.00476, allocations: 32.86 kB / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.00477, allocations: 0 / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.004792, allocations: 38.55 kB / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.004793, allocations: 0 / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001094/0.005887, allocations: 0.5379 MB / 385.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.005916, allocations: 51.41 kB / 385.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.00599, allocations: 126.8 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006003, allocations: 33.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.006061, allocations: 108.3 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.00609, allocations: 55.48 kB / 386.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.006124, allocations: 29.72 kB / 386.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.006196, allocations: 322.8 kB / 386.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.006237, allocations: 35.98 kB / 386.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.006298, allocations: 62.55 kB / 386.5 MB, free: 11.12 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.006648, allocations: 211.1 kB / 386.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006648, allocations: 0 / 386.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001381/0.006787, allocations: 141.5 kB / 386.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006801, allocations: 11.98 kB / 386.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006806, allocations: 0 / 386.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006817, allocations: 0 / 386.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.006925, allocations: 39.92 kB / 386.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.00693, allocations: 256 / 386.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.006954, allocations: 0 / 386.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.006963, allocations: 12 kB / 386.9 MB, free: 10.7 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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 6.926e-05/0.007032, allocations: 137.7 kB / 387.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.007051, allocations: 19.84 kB / 387.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.007079, allocations: 16.72 kB / 387.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007081, allocations: 4 kB / 387.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.007086, allocations: 0 / 387.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007089, allocations: 0 / 387.1 MB, free: 10.52 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.0003975/0.007487, allocations: 464.4 kB / 387.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007488, allocations: 4.094 kB / 387.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.007559, allocations: 23.94 kB / 387.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-05/0.007635, allocations: 24.84 kB / 387.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007643, allocations: 0 / 387.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006114/0.008254, allocations: 1.271 MB / 388.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.008256, allocations: 4.031 kB / 388.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.00847, allocations: 302.9 kB / 389.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.008479, allocations: 7.984 kB / 389.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.008489, allocations: 8 kB / 389.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.008531, allocations: 0 / 389.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.00855, allocations: 11.98 kB / 389.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.008556, allocations: 7.938 kB / 389.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.522e-05/0.008591, allocations: 95.7 kB / 389.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 389.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.008759, allocations: 28 kB / 389.3 MB, free: 8.078 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.0004037/0.009163, allocations: 0.8407 MB / 390.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.00933, allocations: 95.83 kB / 390.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009332, allocations: 0 / 390.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.009512, allocations: 166.6 kB / 390.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.009747, allocations: 28.69 kB / 390.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01105, allocations: 1.739 MB / 392.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.01148, allocations: 92.67 kB / 392.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.65e-05/0.01152, allocations: 9.156 kB / 392.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.01158, allocations: 36.48 kB / 392.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01158, allocations: 0 / 392.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.02907, allocations: 3.647 MB / 396 MB, free: 1.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.422, allocations: 12 kB / 396 MB, free: 1.457 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState_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_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.265461481176317] Failed to read output from testmodel.py, exit status != 0: 7.505085543729365 7.514989027 7.509703491 Calling exit ...