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.0008899/0.0008899, allocations: 80.44 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.0009237/0.0009237, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.8962/0.8962, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.001838/0.001838, allocations: 416.3 kB / 259.6 MB, free: 12.85 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 1.172e-06/1.172e-06, allocations: 0 / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.231e-05, allocations: 2.281 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.001788/0.0018, allocations: 1.631 MB / 383.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001907/0.001991, allocations: 91.64 kB / 383.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.002031, allocations: 0 / 383.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.002068, allocations: 19.84 kB / 383.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.00214, allocations: 39.64 kB / 383.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.147e-05/0.002231, allocations: 23.97 kB / 383.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.002324, allocations: 107.5 kB / 383.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.002418, allocations: 27.97 kB / 383.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.002486, allocations: 55.89 kB / 383.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.002542, allocations: 35.89 kB / 383.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002563, allocations: 8 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.002574, allocations: 8 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.002594, allocations: 19.92 kB / 383.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.002625, allocations: 39.91 kB / 383.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.00273, allocations: 107.6 kB / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002732, allocations: 4 kB / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.002734, allocations: 4 kB / 384 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.002737, 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.000329/0.003066, allocations: 318.1 kB / 384.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.003097, allocations: 12.03 kB / 384.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.003134, allocations: 46.73 kB / 384.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.003155, allocations: 8.891 kB / 384.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.00327, allocations: 133.6 kB / 384.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.003279, allocations: 8.562 kB / 384.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.003298, allocations: 8.375 kB / 384.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.003418, allocations: 101.5 kB / 384.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.003428, allocations: 0 / 384.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.003437, allocations: 4 kB / 384.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003442, allocations: 4 kB / 384.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.003521, allocations: 55.95 kB / 384.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.00387, allocations: 339.8 kB / 385 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.003993, allocations: 102.4 kB / 385.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.004035, allocations: 36.84 kB / 385.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.004045, allocations: 4 kB / 385.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.004321, allocations: 30.56 kB / 385.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.004322, allocations: 0 / 385.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006999/0.005022, allocations: 0.5339 MB / 385.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.005051, allocations: 59.34 kB / 385.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.005118, allocations: 122.9 kB / 385.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.00513, allocations: 33.7 kB / 385.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.005174, allocations: 108.3 kB / 386 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.005207, allocations: 63.47 kB / 386.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.005243, allocations: 37.7 kB / 386.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.005317, allocations: 314.8 kB / 386.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.00536, allocations: 35.98 kB / 386.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.005414, allocations: 62.55 kB / 386.5 MB, free: 11.09 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.0004186/0.005833, allocations: 263.1 kB / 386.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005833, allocations: 0 / 386.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001659/0.005999, allocations: 162.3 kB / 387 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.006011, allocations: 4 kB / 387 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006015, allocations: 4 kB / 387 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.16e-05/0.006097, allocations: 28.83 kB / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.006147, allocations: 20 kB / 387 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/0.006915, allocations: 1.516 MB / 388.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.006941, allocations: 4 kB / 388.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006947, allocations: 4 kB / 388.5 MB, free: 8.957 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.502e-05/0.007032, allocations: 129.7 kB / 388.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.007051, allocations: 7.953 kB / 388.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.007069, allocations: 20.77 kB / 388.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.00707, allocations: 4.062 kB / 388.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.007072, allocations: 0 / 388.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007075, allocations: 4 kB / 388.7 MB, free: 8.789 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.0003762/0.007451, allocations: 452.8 kB / 389.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007453, allocations: 4 kB / 389.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.007523, allocations: 31.86 kB / 389.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.171e-05/0.007565, allocations: 20.91 kB / 389.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.007575, allocations: 16.03 kB / 389.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005155/0.008091, allocations: 1.263 MB / 390.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008092, allocations: 3.984 kB / 390.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.008303, allocations: 302.8 kB / 390.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.008312, allocations: 11.91 kB / 390.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.00832, allocations: 4.219 kB / 390.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.008364, allocations: 8 kB / 390.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.008382, allocations: 19.91 kB / 390.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.008388, allocations: 4 kB / 390.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.008421, allocations: 91.7 kB / 390.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008421, allocations: 4 kB / 390.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.008616, allocations: 35.94 kB / 390.9 MB, free: 6.328 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.0003841/0.009, allocations: 0.8321 MB / 391.8 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.009255, allocations: 227.5 kB / 392 MB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009257, allocations: 0 / 392 MB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/0.009357, allocations: 170.5 kB / 392.2 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.009803, allocations: 28.2 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.001199/0.011, allocations: 1.787 MB / 394 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01106, allocations: 88.81 kB / 394.1 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.01109, allocations: 13.14 kB / 394.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.01113, allocations: 36.48 kB / 394.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01113, allocations: 0 / 394.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.028, allocations: 3.737 MB / 397.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.424, allocations: 6.25 kB / 397.9 MB, free: 15.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.145884864032269] Failed to read output from testmodel.py, exit status != 0: 7.505490140989423 7.515903466 7.51032518 Calling exit ...