Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003126/0.003126, allocations: 0.5789 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07707/0.07842, allocations: 49.6 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002886/0.08135, allocations: 1.649 MB / 454.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.08169, allocations: 91.69 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.08178, allocations: 3.938 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.08185, allocations: 11.86 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.08199, allocations: 27.78 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.08213, allocations: 31.89 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.08228, allocations: 111.5 kB / 454.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.08241, allocations: 31.98 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.0825, allocations: 47.84 kB / 454.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.08259, allocations: 39.78 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.08264, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.08266, allocations: 11.94 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.0827, allocations: 23.92 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.08276, allocations: 43.81 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.08291, allocations: 111.6 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.08293, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08293, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.08294, allocations: 0 / 454.9 MB, free: 12.27 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.0005169/0.08346, allocations: 403.3 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.08351, allocations: 8.031 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.08356, allocations: 8.844 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.08374, allocations: 192.1 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.08376, allocations: 8.562 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.0838, allocations: 12.38 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.08399, allocations: 95.83 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.08401, allocations: 0 / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.08403, allocations: 8 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.08404, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.08416, allocations: 63.95 kB / 455.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.08471, allocations: 384.6 kB / 456.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.0849, allocations: 98.48 kB / 456.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.08499, allocations: 41.06 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.08501, allocations: 3.938 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.08504, allocations: 38.56 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.08505, allocations: 0 / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00113/0.08618, allocations: 0.6773 MB / 456.9 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.08624, allocations: 55.41 kB / 457 MB, free: 9.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.08636, allocations: 134.8 kB / 457.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.08638, allocations: 25.7 kB / 457.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.08646, allocations: 104.3 kB / 457.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.08651, allocations: 59.19 kB / 457.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.08657, allocations: 29.72 kB / 457.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.08668, allocations: 322.8 kB / 457.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.08676, allocations: 35.98 kB / 457.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.08685, allocations: 70.44 kB / 457.7 MB, free: 9.121 MB / 334.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.0007737/0.08763, allocations: 417.1 kB / 458.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08764, allocations: 0 / 458.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000276/0.08792, allocations: 162.2 kB / 458.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.08795, allocations: 8 kB / 458.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.08796, allocations: 0 / 458.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.08811, allocations: 32.84 kB / 458.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.08822, allocations: 23.98 kB / 458.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.08951, allocations: 1.615 MB / 460 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.08958, allocations: 4.062 kB / 460 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.0896, allocations: 8.016 kB / 460 MB, free: 6.664 MB / 334.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.0001213/0.08973, allocations: 133.7 kB / 460.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.08977, allocations: 19.8 kB / 460.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.08981, allocations: 13.09 kB / 460.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.08982, allocations: 4 kB / 460.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.08983, allocations: 4 kB / 460.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.08984, allocations: 3.938 kB / 460.2 MB, free: 6.484 MB / 334.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.0006751/0.09052, allocations: 0.598 MB / 460.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.09054, allocations: 3.938 kB / 460.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.09067, allocations: 27.98 kB / 460.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.09076, allocations: 20.94 kB / 460.8 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.09078, allocations: 8 kB / 460.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000937/0.09172, allocations: 1.359 MB / 462.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.09174, allocations: 4.078 kB / 462.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.09211, allocations: 314.5 kB / 462.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.09217, allocations: 85.05 kB / 462.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.09219, allocations: 4 kB / 462.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.09228, allocations: 7.938 kB / 462.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.09231, allocations: 11.98 kB / 462.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.09233, allocations: 8 kB / 462.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.398e-05/0.09239, allocations: 95.64 kB / 462.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0924, allocations: 0 / 462.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.09273, allocations: 32 kB / 462.7 MB, free: 3.637 MB / 334.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 9.961e-05/0.09284, allocations: 109.9 kB / 462.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.09328, allocations: 222.6 kB / 463.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0933, allocations: 0 / 463.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.0935, allocations: 166.9 kB / 463.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.09384, allocations: 19.98 kB / 463.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.09453, allocations: 423.9 kB / 463.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.09481, allocations: 0.7046 MB / 464.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.09485, allocations: 15.44 kB / 464.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.09486, allocations: 0 / 464.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Templates: time 0.003765/0.09863, allocations: 1.977 MB / 466.4 MB, free: 15.93 MB / 350.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)