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.0008508/0.0008508, 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.000872/0.000872, allocations: 169.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.9559/0.9559, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.00305/0.00305, allocations: 418.8 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.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 2.925e-06/2.925e-06, allocations: 0 / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.572e-05, allocations: 2.281 kB / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003552/0.003577, allocations: 1.618 MB / 383.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003899/0.003967, allocations: 91.7 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.004047, allocations: 0 / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.004111, allocations: 11.86 kB / 383.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.004242, allocations: 39.58 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.004421, allocations: 27.95 kB / 383.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.004605, allocations: 115.5 kB / 383.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.004773, allocations: 23.97 kB / 383.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.004909, allocations: 59.89 kB / 383.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.005018, allocations: 31.89 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.005061, allocations: 8 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.005081, allocations: 12 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.005109, allocations: 15.92 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.005165, allocations: 39.91 kB / 383.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.00536, allocations: 103.7 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005363, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005365, allocations: 4 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.005371, 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.0005679/0.005938, allocations: 333 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.005985, allocations: 12.03 kB / 384.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.006032, allocations: 42.73 kB / 384.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.006071, allocations: 12.89 kB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.006243, allocations: 125.7 kB / 384.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.00626, allocations: 8.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.006293, allocations: 8.375 kB / 384.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.006493, allocations: 105.8 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.006508, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006522, allocations: 4 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006529, allocations: 4 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.006653, allocations: 51.97 kB / 384.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.007208, allocations: 339.8 kB / 385 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.007399, allocations: 98.48 kB / 385.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.00747, allocations: 36.84 kB / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.007485, allocations: 4 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.007514, allocations: 34.56 kB / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.007515, allocations: 0 / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001224/0.008739, allocations: 0.54 MB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.008788, allocations: 55.41 kB / 385.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.008918, allocations: 125.7 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.008941, allocations: 29.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.00903, allocations: 104.3 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.009084, allocations: 63.47 kB / 386.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.009145, allocations: 37.7 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.009278, allocations: 318.8 kB / 386.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.009363, allocations: 35.98 kB / 386.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.009457, allocations: 62.55 kB / 386.5 MB, free: 11.11 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.0007014/0.01016, allocations: 250.8 kB / 386.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01016, allocations: 4 kB / 386.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002633/0.01042, allocations: 162.4 kB / 386.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01044, allocations: 4 kB / 386.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01045, allocations: 0 / 386.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.01058, allocations: 36.77 kB / 387 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.01067, allocations: 24.23 kB / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.01198, allocations: 1.508 MB / 388.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.01203, allocations: 8.031 kB / 388.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01204, allocations: 7.984 kB / 388.5 MB, free: 8.977 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 0.0001334/0.01217, allocations: 129.7 kB / 388.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01221, allocations: 7.953 kB / 388.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.01224, allocations: 12.78 kB / 388.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01224, allocations: 4 kB / 388.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.01225, allocations: 3.984 kB / 388.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01225, allocations: 4.062 kB / 388.7 MB, free: 8.812 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.0005959/0.01285, allocations: 456.8 kB / 389.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01285, allocations: 0 / 389.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.01296, allocations: 35.86 kB / 389.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-05/0.01302, allocations: 16.86 kB / 389.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01304, allocations: 7.938 kB / 389.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.01387, allocations: 1.276 MB / 390.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.01387, allocations: 4 kB / 390.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.01421, allocations: 302.7 kB / 390.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01423, allocations: 11.94 kB / 390.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.01424, allocations: 8 kB / 390.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.01432, allocations: 0 / 390.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.01436, allocations: 23.91 kB / 390.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01437, allocations: 8.219 kB / 390.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.01443, allocations: 91.27 kB / 390.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01443, allocations: 0 / 390.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.01479, allocations: 36 kB / 390.9 MB, free: 6.348 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.0006066/0.0154, allocations: 0.8369 MB / 391.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.01573, allocations: 218.7 kB / 392 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01573, allocations: 4 kB / 392 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.01583, allocations: 170.5 kB / 392.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01608, allocations: 19.98 kB / 392.2 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.01751, allocations: 1.785 MB / 393.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.01758, allocations: 92.81 kB / 394 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.01762, allocations: 9.141 kB / 394 MB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.01768, allocations: 36.48 kB / 394.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01768, allocations: 0 / 394.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.03821, allocations: 3.744 MB / 397.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.289, allocations: 3.984 kB / 397.8 MB, free: 15.46 MB / 378.7 MB " [Timeout remaining time 653] (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: 9.22150594368577] Failed to read output from testmodel.py, exit status != 0: 7.3710155645385385 7.381735885 7.3737680359999995 Calling exit ...