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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002834/0.002834, allocations: 0.5728 MB / 303.3 MB, free: 9.215 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001877/0.001877, allocations: 64.12 kB / 421.5 MB, free: 25.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08872, allocations: 52.3 MB / 473.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001702/0.09042, allocations: 0.5275 MB / 474.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.09059, allocations: 39.83 kB / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.09062, allocations: 0 / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.09063, allocations: 0 / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.09067, allocations: 0 / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.09079, allocations: 11.94 kB / 474.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.09085, allocations: 15.98 kB / 474.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.0909, allocations: 7.969 kB / 474.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.09092, allocations: 7.938 kB / 474.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.09099, allocations: 15.92 kB / 474.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.09101, allocations: 0 / 474.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.09102, allocations: 8 kB / 474.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.09104, allocations: 0 / 474.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.09106, allocations: 11.94 kB / 474.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.09113, allocations: 20.12 kB / 474.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09114, allocations: 0 / 474.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09114, allocations: 0 / 474.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.09114, allocations: 0 / 474.4 MB, free: 4.293 MB / 334.1 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.0004384/0.09158, allocations: 339.5 kB / 474.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.09162, allocations: 11.89 kB / 474.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.09166, allocations: 30.75 kB / 474.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.09168, allocations: 12.89 kB / 474.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.09183, allocations: 164.3 kB / 475 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.09184, allocations: 8.375 kB / 475 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.09186, allocations: 4.375 kB / 475 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.09196, allocations: 42.25 kB / 475 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.09198, allocations: 3.938 kB / 475 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.09199, allocations: 7.984 kB / 475 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.09199, allocations: 3.938 kB / 475.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.09203, allocations: 8 kB / 475.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.09237, allocations: 256.8 kB / 475.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.09248, allocations: 54.56 kB / 475.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.09252, allocations: 16.97 kB / 475.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.09253, allocations: 4 kB / 475.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.09255, allocations: 34.56 kB / 475.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.09255, allocations: 4 kB / 475.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007804/0.09333, allocations: 0.4986 MB / 475.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.09337, allocations: 51.41 kB / 476 MB, free: 2.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.09345, allocations: 101.8 kB / 476.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.09347, allocations: 29.7 kB / 476.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.09352, allocations: 84.14 kB / 476.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.09356, allocations: 27.75 kB / 476.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.0936, allocations: 29.7 kB / 476.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.09374, allocations: 318.7 kB / 476.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.09378, allocations: 23.92 kB / 476.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.09384, allocations: 37.64 kB / 476.6 MB, free: 1.797 MB / 334.1 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.0003934/0.09423, allocations: 243.9 kB / 476.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.09423, allocations: 0 / 476.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.0944, allocations: 94.42 kB / 476.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.09442, allocations: 8 kB / 476.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.09442, allocations: 0 / 476.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.09454, allocations: 32.72 kB / 477 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.0946, allocations: 12 kB / 477 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.0958, allocations: 1.382 MB / 478.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.09582, allocations: 8 kB / 478.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.09583, allocations: 12.47 kB / 478.4 MB, free: 15.82 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: 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 0.0001268/0.09596, allocations: 123.8 kB / 478.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.09598, allocations: 0 / 478.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.09601, allocations: 7.969 kB / 478.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.09601, allocations: 7.984 kB / 478.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.09601, allocations: 0 / 478.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.09601, allocations: 0 / 478.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.09648, allocations: 373.8 kB / 478.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09648, allocations: 0 / 478.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.09654, allocations: 12.03 kB / 478.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.09661, allocations: 28.72 kB / 478.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.09662, allocations: 4 kB / 478.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.0977, allocations: 1.383 MB / 480.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.09771, allocations: 4.031 kB / 480.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.09796, allocations: 231 kB / 480.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.09802, allocations: 85.12 kB / 480.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.09803, allocations: 3.938 kB / 480.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.09809, allocations: 4 kB / 480.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.09811, allocations: 16.05 kB / 480.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.09812, allocations: 4.062 kB / 480.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.09816, allocations: 79.28 kB / 480.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09816, allocations: 3.938 kB / 480.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.09841, allocations: 12 kB / 480.8 MB, free: 13.19 MB / 350.1 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.0005738/0.09898, allocations: 0.7548 MB / 481.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.09928, allocations: 166.6 kB / 481.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.09929, allocations: 0 / 481.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.09948, allocations: 150.7 kB / 481.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.0997, allocations: 4 kB / 481.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1011, allocations: 1.393 MB / 483.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1014, allocations: 0.6885 MB / 483.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.892e-05/0.1014, allocations: 4 kB / 483.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1015, allocations: 11.44 kB / 483.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1015, allocations: 0 / 483.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.129, allocations: 1.812 MB / 485.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.632/9.761, allocations: 12.73 kB / 485.7 MB, free: 8.246 MB / 350.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.12691560620442] Failed to read output from testmodel.py, exit status != 0: 9.841022089123726 9.859866026 9.764757183 Calling exit ...