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.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.001827/0.001827, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001405/0.001405, allocations: 191 kB / 22.23 MB, free: 5.227 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13.01 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.002971/0.002971, allocations: 0.5798 MB / 306.8 MB, free: 8.016 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: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.88 kB / 427.2 MB, free: 23.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08325/0.08533, allocations: 52.34 MB / 479.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002941/0.08827, allocations: 1.673 MB / 481.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002792/0.08855, allocations: 107.6 kB / 481.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.08861, allocations: 3.938 kB / 481.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.08866, allocations: 11.86 kB / 481.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.08876, allocations: 31.72 kB / 481.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.08888, allocations: 23.97 kB / 481.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.08901, allocations: 111.5 kB / 481.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.08913, allocations: 23.97 kB / 481.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.0892, allocations: 43.86 kB / 481.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.08929, allocations: 47.78 kB / 481.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.08932, allocations: 11.98 kB / 481.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.08934, allocations: 8 kB / 481.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.08937, allocations: 19.92 kB / 481.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.08943, allocations: 47.8 kB / 481.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.08958, allocations: 111.5 kB / 481.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.08959, allocations: 0 / 481.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08959, allocations: 0 / 481.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.0896, allocations: 4 kB / 481.8 MB, free: 0.6367 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005277/0.09013, allocations: 322.2 kB / 482.1 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.09016, allocations: 12.03 kB / 482.1 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.0902, allocations: 8.891 kB / 482.1 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.09037, allocations: 134.3 kB / 482.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.09038, allocations: 8.562 kB / 482.2 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.09041, allocations: 12.38 kB / 482.3 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.09061, allocations: 95.91 kB / 482.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.09062, allocations: 0 / 482.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.09063, allocations: 7.875 kB / 482.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.09064, allocations: 4 kB / 482.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.09076, allocations: 55.97 kB / 482.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.0913, allocations: 351.7 kB / 482.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.09149, allocations: 106.4 kB / 482.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.09156, allocations: 36.84 kB / 482.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.09157, allocations: 0 / 482.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.0916, allocations: 38.55 kB / 482.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.0916, allocations: 0 / 482.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001076/0.09268, allocations: 0.5459 MB / 483.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.09271, allocations: 51.41 kB / 483.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.09282, allocations: 121.8 kB / 483.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.09284, allocations: 25.7 kB / 483.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.09291, allocations: 100.4 kB / 483.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.09296, allocations: 63.47 kB / 483.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.09301, allocations: 37.72 kB / 483.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.09316, allocations: 322.8 kB / 484.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.09323, allocations: 35.98 kB / 484.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.09331, allocations: 58.5 kB / 484.3 MB, free: 13.88 MB / 350.1 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.0007133/0.09402, allocations: 261.2 kB / 484.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09402, allocations: 0 / 484.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002858/0.09431, allocations: 170.5 kB / 484.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.09432, allocations: 8 kB / 484.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.09433, allocations: 32 / 484.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.09445, allocations: 32.84 kB / 484.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.09455, allocations: 31.92 kB / 484.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.09592, allocations: 1.509 MB / 486.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.09597, allocations: 4.031 kB / 486.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.09598, allocations: 4 kB / 486.3 MB, free: 11.73 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: 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.0001366/0.09612, allocations: 133.9 kB / 486.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.09616, allocations: 16 kB / 486.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.09619, allocations: 16.72 kB / 486.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.09619, allocations: 4 kB / 486.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.0962, allocations: 0 / 486.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0962, allocations: 0 / 486.5 MB, free: 11.56 MB / 350.1 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.0007218/0.09692, allocations: 0.5613 MB / 487 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.09692, allocations: 7.969 kB / 487 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.09706, allocations: 27.98 kB / 487.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.182e-05/0.09713, allocations: 16.86 kB / 487.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.09714, allocations: 4 kB / 487.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.09818, allocations: 1.275 MB / 488.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.09818, allocations: 0 / 488.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.09856, allocations: 306.8 kB / 488.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.09858, allocations: 7.953 kB / 488.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.09859, allocations: 4 kB / 488.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.09868, allocations: 11.92 kB / 488.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.0987, allocations: 11.98 kB / 488.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.09871, allocations: 8.062 kB / 488.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.09879, allocations: 96.73 kB / 488.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09879, allocations: 0 / 488.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.0991, allocations: 36 kB / 488.8 MB, free: 8.969 MB / 350.1 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.0001006/0.0992, allocations: 94.62 kB / 488.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.09964, allocations: 226.6 kB / 489.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.09964, allocations: 0 / 489.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.09987, allocations: 162.6 kB / 489.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1002, allocations: 27.92 kB / 489.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.1009, allocations: 394.9 kB / 489.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1013, allocations: 0.7046 MB / 490.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1013, allocations: 13.08 kB / 490.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.1013, allocations: 15.44 kB / 490.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1013, allocations: 0 / 490.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Templates: time 0.004725/0.1061, allocations: 1.549 MB / 492 MB, free: 5.758 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.339050082489848] Failed to read output from testmodel.py, exit status != 0: 0.11329025402665138 0.129198438 0.036550742000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9e3b3457b0>