Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.0008515/0.0008515, 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.0009261/0.0009261, 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001896/0.001896, allocations: 412.3 kB / 259.6 MB, free: 12.83 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.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 381.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.563e-05, allocations: 2.281 kB / 381.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001132/0.001147, allocations: 0.5338 MB / 382.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.001312, allocations: 23.91 kB / 382.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.001336, allocations: 0 / 382.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.001353, allocations: 3.938 kB / 382.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.001388, allocations: 0 / 382.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.001527, allocations: 7.984 kB / 382.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.001593, allocations: 19.98 kB / 382.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.001645, allocations: 3.938 kB / 382.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.00169, allocations: 19.91 kB / 382.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.001755, allocations: 7.984 kB / 382.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.00178, allocations: 0 / 382.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.001789, allocations: 4 kB / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.001807, allocations: 4 kB / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.001829, allocations: 15.92 kB / 382.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.001898, allocations: 11.97 kB / 382.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.001899, allocations: 0 / 382.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0019, allocations: 0 / 382.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.001904, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003469/0.002251, allocations: 262.3 kB / 382.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.002297, allocations: 12.03 kB / 382.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.002326, allocations: 30.75 kB / 382.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.002346, allocations: 0.9375 kB / 382.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.002417, allocations: 105.8 kB / 382.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.002429, allocations: 12.36 kB / 382.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.002449, allocations: 4.359 kB / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.002546, allocations: 42.25 kB / 382.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.002558, allocations: 4.188 kB / 382.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.002566, allocations: 8.312 kB / 382.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.002571, allocations: 4.125 kB / 382.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.002609, allocations: 15.98 kB / 382.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.002874, allocations: 216 kB / 383.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/0.002966, allocations: 46.62 kB / 383.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.002991, allocations: 16.98 kB / 383.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.003, allocations: 3.938 kB / 383.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.003023, allocations: 54.36 kB / 383.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.003025, allocations: 0 / 383.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.003562, allocations: 360.2 kB / 383.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.00359, allocations: 55.41 kB / 383.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.003642, allocations: 93.86 kB / 383.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.003654, allocations: 29.7 kB / 383.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.00368, allocations: 80.14 kB / 383.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.003706, allocations: 31.73 kB / 383.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.003735, allocations: 25.72 kB / 383.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.003808, allocations: 318.8 kB / 384.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.00383, allocations: 12.25 kB / 384.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.003862, allocations: 41.7 kB / 384.3 MB, free: 12.16 MB / 314.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.004108, allocations: 93.62 kB / 384.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.004109, allocations: 0 / 384.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001153/0.004225, allocations: 94.47 kB / 384.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004236, allocations: 4 kB / 384.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.004242, allocations: 0 / 384.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.004346, allocations: 24.84 kB / 384.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.004429, allocations: 8 kB / 384.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.005563, allocations: 1.291 MB / 385.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.005574, allocations: 0 / 385.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.00558, allocations: 0 / 385.8 MB, free: 10.52 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.01e-05/0.00567, allocations: 115.8 kB / 385.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.005686, allocations: 11.89 kB / 385.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.005703, allocations: 8.125 kB / 385.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-07/0.005704, allocations: 0 / 385.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.005708, allocations: 8.188 kB / 385.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.005713, allocations: 8.047 kB / 385.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.006041, allocations: 336.9 kB / 386.3 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.006045, allocations: 4 kB / 386.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.006086, allocations: 8 kB / 386.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-05/0.006138, allocations: 16.84 kB / 386.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.00615, allocations: 11.94 kB / 386.3 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006384/0.006788, allocations: 1.295 MB / 387.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006789, allocations: 0 / 387.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.006931, allocations: 231.3 kB / 387.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.006934, allocations: 3.984 kB / 387.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-06/0.006939, allocations: 4 kB / 387.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.006971, allocations: 0 / 387.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.006988, allocations: 15.92 kB / 387.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006992, allocations: 4 kB / 387.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.253e-05/0.007014, allocations: 75.28 kB / 387.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007014, allocations: 0 / 387.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.007173, allocations: 20.12 kB / 388 MB, free: 8.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.007475, allocations: 0.7547 MB / 388.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.007692, allocations: 162.6 kB / 388.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.007694, allocations: 0 / 388.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.007784, allocations: 138.7 kB / 389 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.007936, allocations: 8.234 kB / 389 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.008812, allocations: 1.395 MB / 390.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.008864, allocations: 71.34 kB / 390.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.008881, allocations: 0 / 390.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.008918, allocations: 16.5 kB / 390.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008919, allocations: 0 / 390.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.02423, allocations: 2.414 MB / 392.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.571, allocations: 7.984 kB / 392.9 MB, free: 3.207 MB / 314.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.374896135181189] Failed to read output from testmodel.py, exit status != 0: 7.65477469842881 7.668149254 7.6641108319999995 Calling exit ...