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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 180.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002799/0.002799, allocations: 0.5508 MB / 292.6 MB, free: 1.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 353.9 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 50.57 MB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00163/0.2284, allocations: 1.368 MB / 405.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002329/0.2286, allocations: 97.19 kB / 406 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.2287, allocations: 2.219 kB / 406 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.2287, allocations: 9.719 kB / 406 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.2288, allocations: 26.36 kB / 406 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.2289, allocations: 22.97 kB / 406 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2291, allocations: 105.4 kB / 406.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2292, allocations: 27.95 kB / 406.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.2293, allocations: 37.64 kB / 406.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.2293, allocations: 40.06 kB / 406.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2294, allocations: 4.812 kB / 406.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.2294, allocations: 4.562 kB / 406.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.2294, allocations: 17 kB / 406.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.2295, allocations: 68.84 kB / 406.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2296, allocations: 81.31 kB / 406.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2296, allocations: 0.5 kB / 406.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2296, allocations: 3.938 kB / 406.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.2296, allocations: 1.094 kB / 406.4 MB, free: 9.809 MB / 286.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.0003322/0.2299, allocations: 388.2 kB / 406.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.23, allocations: 9.094 kB / 406.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.23, allocations: 10.75 kB / 406.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2301, allocations: 187.3 kB / 407 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2302, allocations: 7.812 kB / 407 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2302, allocations: 14.91 kB / 407 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2304, allocations: 92.39 kB / 407.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2304, allocations: 4.75 kB / 407.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2304, allocations: 6.156 kB / 407.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.2304, allocations: 3.156 kB / 407.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.2306, allocations: 59.09 kB / 407.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.231, allocations: 393.2 kB / 407.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2312, allocations: 99.75 kB / 407.7 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.2312, allocations: 39.95 kB / 407.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2313, allocations: 1.219 kB / 407.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2313, allocations: 44.39 kB / 407.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2313, allocations: 0 / 407.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008657/0.2322, allocations: 0.6834 MB / 408.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.2322, allocations: 53.53 kB / 408.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.2323, allocations: 123 kB / 408.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2323, allocations: 30.73 kB / 408.6 MB, free: 7.934 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2323, allocations: 98.5 kB / 408.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.2324, allocations: 60.64 kB / 408.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.2324, allocations: 24.78 kB / 408.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.2324, allocations: 324 kB / 409.1 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.2325, allocations: 34.81 kB / 409.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.2326, allocations: 64.8 kB / 409.2 MB, free: 7.391 MB / 286.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.0006232/0.2332, allocations: 416.9 kB / 409.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2332, allocations: 1.188 kB / 409.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002244/0.2334, allocations: 171.1 kB / 409.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2335, allocations: 6.375 kB / 409.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2335, allocations: 0.6562 kB / 409.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.2336, allocations: 27.61 kB / 409.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.2337, allocations: 23.22 kB / 409.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/0.2345, allocations: 1.451 MB / 411.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.2345, allocations: 9 kB / 411.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2345, allocations: 4.156 kB / 411.3 MB, free: 5.535 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 7.568e-05/0.2346, allocations: 128.6 kB / 411.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2347, allocations: 20.97 kB / 411.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.2347, allocations: 14.19 kB / 411.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2347, allocations: 2.188 kB / 411.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2347, allocations: 1.219 kB / 411.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2347, allocations: 1.969 kB / 411.5 MB, free: 5.379 MB / 286.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.0005029/0.2352, allocations: 0.6054 MB / 412.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2352, allocations: 1.375 kB / 412.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2354, allocations: 31.92 kB / 412.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.822e-05/0.2354, allocations: 17.56 kB / 412.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2354, allocations: 5.375 kB / 412.2 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005207/0.236, allocations: 1.272 MB / 413.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.236, allocations: 0 / 413.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.2362, allocations: 307.4 kB / 413.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.2363, allocations: 88.47 kB / 413.8 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2363, allocations: 7.203 kB / 413.8 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.2364, allocations: 1.156 kB / 413.8 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.2364, allocations: 17.66 kB / 413.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2364, allocations: 5.062 kB / 413.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.2365, allocations: 101.1 kB / 413.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2365, allocations: 0 / 413.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.2368, allocations: 35.56 kB / 414 MB, free: 3.066 MB / 286.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 6.708e-05/0.2368, allocations: 99.25 kB / 414.1 MB, free: 2.969 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.2371, allocations: 226 kB / 414.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2372, allocations: 0 / 414.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2373, allocations: 170.8 kB / 414.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2376, allocations: 17.36 kB / 414.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.2382, allocations: 0.4943 MB / 415 MB, free: 2.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2383, allocations: 0.7059 MB / 415.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2384, allocations: 13.41 kB / 415.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2384, allocations: 0 / 415.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of Templates: time 0.003618/0.242, allocations: 1.954 MB / 417.6 MB, free: 1.449 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (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)