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.0007993/0.0007993, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007977/0.0007977, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.893/0.893, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.001937/0.001937, allocations: 407.1 kB / 260.3 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: 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 1.924e-06/1.924e-06, allocations: 0 / 383 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.358e-05, allocations: 2.281 kB / 383 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002011/0.002034, allocations: 1.631 MB / 384.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002728/0.002307, allocations: 91.7 kB / 384.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.002369, allocations: 3.938 kB / 384.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.00242, allocations: 15.84 kB / 384.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.002517, allocations: 35.64 kB / 384.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.002648, allocations: 19.98 kB / 384.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002762, allocations: 119.4 kB / 385 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.002893, allocations: 27.92 kB / 385 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.002986, allocations: 59.88 kB / 385 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.003064, allocations: 31.89 kB / 385.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.003091, allocations: 8 kB / 385.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.003103, allocations: 15.94 kB / 385.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.003125, allocations: 15.92 kB / 385.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.003163, allocations: 39.91 kB / 385.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.0033, allocations: 103.7 kB / 385.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.003302, allocations: 0 / 385.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.003304, allocations: 0 / 385.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.003308, allocations: 4 kB / 385.3 MB, free: 13.37 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.0004115/0.00372, allocations: 324.9 kB / 385.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003758, allocations: 12.03 kB / 385.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.003796, allocations: 12.84 kB / 385.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.003941, allocations: 133.7 kB / 385.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003951, allocations: 4.562 kB / 385.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.003978, allocations: 12.31 kB / 385.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.004128, allocations: 101.7 kB / 385.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.004139, allocations: 4 kB / 385.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.00415, allocations: 0 / 385.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004156, allocations: 4 kB / 385.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.004238, allocations: 51.97 kB / 385.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.004629, allocations: 308.2 kB / 386.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.004773, allocations: 102.7 kB / 386.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.004818, allocations: 36.78 kB / 386.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.004831, allocations: 4 kB / 386.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004853, allocations: 38.5 kB / 386.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.004854, allocations: 0 / 386.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008177/0.005672, allocations: 0.5379 MB / 386.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.005707, allocations: 63.28 kB / 387 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.005776, allocations: 109.8 kB / 387.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.00579, allocations: 29.7 kB / 387.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.005844, allocations: 108.3 kB / 387.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.00588, allocations: 63.47 kB / 387.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.005919, allocations: 33.72 kB / 387.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.005998, allocations: 322.8 kB / 387.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.006041, allocations: 39.92 kB / 387.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.006098, allocations: 62.55 kB / 387.7 MB, free: 10.67 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.0004379/0.006536, allocations: 254.6 kB / 388 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.006537, allocations: 0 / 388 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001735/0.006711, allocations: 166.3 kB / 388.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006723, allocations: 4 kB / 388.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.006729, allocations: 4 kB / 388.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.753e-05/0.006826, allocations: 28.84 kB / 388.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.006882, allocations: 23.98 kB / 388.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.007912, allocations: 1.481 MB / 389.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.007942, allocations: 8.125 kB / 389.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.007951, allocations: 8 kB / 389.7 MB, free: 8.578 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 9.032e-05/0.008041, allocations: 129.8 kB / 389.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.008059, allocations: 15.84 kB / 389.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.008076, allocations: 12.78 kB / 389.8 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008078, allocations: 4 kB / 389.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008082, allocations: 0 / 389.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008085, allocations: 0 / 389.9 MB, free: 8.414 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.0003677/0.008453, allocations: 437.6 kB / 390.3 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008455, allocations: 0 / 390.3 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.008528, allocations: 35.92 kB / 390.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.262e-05/0.00857, allocations: 16.86 kB / 390.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.008578, allocations: 0 / 390.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005496/0.009128, allocations: 1.26 MB / 391.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.00913, allocations: 4.031 kB / 391.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.009356, allocations: 294.8 kB / 391.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.009365, allocations: 7.984 kB / 391.9 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-06/0.009373, allocations: 4 kB / 391.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.009414, allocations: 4 kB / 391.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.009436, allocations: 7.984 kB / 391.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.009443, allocations: 11.98 kB / 391.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.009479, allocations: 91.38 kB / 392 MB, free: 6.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009479, allocations: 4 kB / 392 MB, free: 6.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.009684, allocations: 32 kB / 392 MB, free: 6.039 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 8.791e-05/0.009772, allocations: 103.1 kB / 392.1 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01005, allocations: 226.5 kB / 392.4 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01005, allocations: 0 / 392.4 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.01015, allocations: 170.9 kB / 392.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01037, allocations: 24.42 kB / 392.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.01082, allocations: 365.9 kB / 392.9 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.067e-05/0.01089, allocations: 92.8 kB / 393 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.01092, allocations: 20.5 kB / 393 MB, free: 4.961 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01092, allocations: 0 / 393 MB, free: 4.961 MB / 362.7 MB Notification: Performance of Templates: time 0.002609/0.01353, allocations: 1.996 MB / 395 MB, free: 2.977 MB / 362.7 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 sys.exit(0), Time elapsed: 4.516207424923778] Failed to read output from testmodel.py, exit status != 0: 0.01847245916724205 0.025699585 0.020836292000000003 Calling exit ...