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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 110 kB / 18.94 MB, free: 2.789 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.001429/0.001429, allocations: 193.4 kB / 22.23 MB, free: 5.234 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.422/1.422, allocations: 225.6 MB / 251 MB, free: 13 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.004105/0.004105, allocations: 0.5652 MB / 306.8 MB, free: 8.047 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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial")
translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003402/0.003402, allocations: 67.89 kB / 427.2 MB, free: 23.37 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.1017, allocations: 52.34 MB / 479.5 MB, free: 2.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002961/0.1047, allocations: 1.642 MB / 481.1 MB, free: 1.285 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002861/0.105, allocations: 107.5 kB / 481.2 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.105, allocations: 0 / 481.2 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.181e-05/0.1051, allocations: 15.86 kB / 481.3 MB, free: 1.164 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1052, allocations: 39.7 kB / 481.3 MB, free: 1.125 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.1053, allocations: 19.97 kB / 481.3 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1055, allocations: 107.5 kB / 481.4 MB, free: 1 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1056, allocations: 31.95 kB / 481.5 MB, free: 0.9688 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.1057, allocations: 39.86 kB / 481.5 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.1058, allocations: 47.78 kB / 481.5 MB, free: 0.8828 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1058, allocations: 8 kB / 481.6 MB, free: 0.875 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.518e-05/0.1058, allocations: 8 kB / 481.6 MB, free: 0.8672 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.1059, allocations: 19.92 kB / 481.6 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1059, allocations: 55.78 kB / 481.6 MB, free: 0.793 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1061, allocations: 107.5 kB / 481.7 MB, free: 0.6875 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1061, allocations: 0 / 481.7 MB, free: 0.6875 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.163e-06/0.1061, allocations: 4 kB / 481.7 MB, free: 0.6836 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.42e-06/0.1061, allocations: 0 / 481.7 MB, free: 0.6836 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.0005273/0.1066, allocations: 328.7 kB / 482.1 MB, free: 340 kB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1067, allocations: 8.031 kB / 482.1 MB, free: 332 kB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1067, allocations: 12.89 kB / 482.1 MB, free: 320 kB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1069, allocations: 130.4 kB / 482.2 MB, free: 164 kB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1069, allocations: 8.562 kB / 482.2 MB, free: 156 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1069, allocations: 12.38 kB / 482.2 MB, free: 144 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1071, allocations: 93.91 kB / 482.3 MB, free: 44 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1071, allocations: 0 / 482.3 MB, free: 44 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1072, allocations: 8 kB / 482.3 MB, free: 36 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1072, allocations: 0 / 482.3 MB, free: 36 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1073, allocations: 59.95 kB / 482.4 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.1079, allocations: 355.8 kB / 482.7 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1081, allocations: 98.48 kB / 482.8 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.1081, allocations: 32.84 kB / 482.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1081, allocations: 0 / 482.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1082, allocations: 38.56 kB / 482.9 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.1082, allocations: 4 kB / 482.9 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001099/0.1093, allocations: 0.5495 MB / 483.5 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1093, allocations: 51.41 kB / 483.5 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1094, allocations: 117.8 kB / 483.6 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1094, allocations: 25.7 kB / 483.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.1095, allocations: 108.3 kB / 483.8 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.1096, allocations: 59.48 kB / 483.8 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1096, allocations: 37.7 kB / 483.8 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001488/0.1098, allocations: 318.8 kB / 484.2 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.1099, allocations: 35.98 kB / 484.2 MB, free: 14 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.11, allocations: 56.44 kB / 484.2 MB, free: 13.94 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.0007156/0.1107, allocations: 262.3 kB / 484.5 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1107, allocations: 3.938 kB / 484.5 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.000287/0.111, allocations: 173.4 kB / 484.7 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.111, allocations: 7.984 kB / 484.7 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.111, allocations: 0 / 484.7 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1111, allocations: 40.78 kB / 484.7 MB, free: 13.44 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.1112, allocations: 20 kB / 484.7 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1126, allocations: 1.505 MB / 486.3 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1127, allocations: 8.016 kB / 486.3 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1127, allocations: 8 kB / 486.3 MB, free: 11.78 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.0001272/0.1128, allocations: 133.8 kB / 486.4 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.1128, allocations: 8.203 kB / 486.4 MB, free: 11.63 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.1129, allocations: 16.72 kB / 486.4 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.1129, allocations: 8.125 kB / 486.4 MB, free: 11.61 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1129, allocations: 4 kB / 486.4 MB, free: 11.61 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1129, allocations: 3.984 kB / 486.4 MB, free: 11.61 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.0007305/0.1136, allocations: 0.5621 MB / 487 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1136, allocations: 3.938 kB / 487 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1138, allocations: 27.92 kB / 487 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.769e-05/0.1138, allocations: 24.84 kB / 487.1 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1138, allocations: 0 / 487.1 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.1149, allocations: 1.26 MB / 488.3 MB, free: 9.523 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1149, allocations: 8.141 kB / 488.3 MB, free: 9.516 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.1153, allocations: 310 kB / 488.6 MB, free: 9.188 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1153, allocations: 7.984 kB / 488.6 MB, free: 9.18 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1153, allocations: 4.062 kB / 488.6 MB, free: 9.176 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.1154, allocations: 11.94 kB / 488.6 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1154, allocations: 15.97 kB / 488.7 MB, free: 9.148 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1154, allocations: 4 kB / 488.7 MB, free: 9.145 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 6.159e-05/0.1155, allocations: 92.8 kB / 488.8 MB, free: 9.055 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.1155, allocations: 4 kB / 488.8 MB, free: 9.051 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.00032/0.1158, allocations: 32 kB / 488.8 MB, free: 9.02 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.0001147/0.1159, allocations: 103.2 kB / 488.9 MB, free: 8.906 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004356/0.1163, allocations: 218.6 kB / 489.1 MB, free: 8.68 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1163, allocations: 0 / 489.1 MB, free: 8.68 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1165, allocations: 166.6 kB / 489.3 MB, free: 8.504 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1169, allocations: 20.23 kB / 489.3 MB, free: 8.484 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.1176, allocations: 402.9 kB / 489.7 MB, free: 8.055 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1179, allocations: 0.7085 MB / 490.4 MB, free: 7.32 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.554e-05/0.118, allocations: 9.078 kB / 490.4 MB, free: 7.312 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.118, allocations: 15.44 kB / 490.4 MB, free: 7.297 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.118, allocations: 0 / 490.4 MB, free: 7.297 MB / 350.1 MB
Notification: Performance of Templates: time 0.004746/0.1228, allocations: 1.544 MB / 492 MB, free: 5.797 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660]
(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) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.322221897542477]
Failed to read output from testmodel.py, exit status != 0:
0.13176568318158388 0.145199564 0.036133559
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd905c617b0>