Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.001442/0.001442, allocations: 110 kB / 18.93 MB, free: 2.945 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.001583/0.001583, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.478/1.478, 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.00301/0.00301, allocations: 0.5759 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.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent")
translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.81 kB / 427.2 MB, free: 23.35 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09254, allocations: 52.33 MB / 479.5 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001636/0.09417, allocations: 0.5502 MB / 480 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001521/0.09432, allocations: 23.92 kB / 480.1 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.09435, allocations: 0 / 480.1 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.09436, allocations: 0 / 480.1 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.09439, allocations: 3.938 kB / 480.1 MB, free: 2.355 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.09451, allocations: 7.969 kB / 480.1 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.09457, allocations: 19.98 kB / 480.1 MB, free: 2.328 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.09461, allocations: 4 kB / 480.1 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.09463, allocations: 11.94 kB / 480.1 MB, free: 2.312 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.09469, allocations: 15.92 kB / 480.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.09471, allocations: 0 / 480.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.09472, allocations: 0 / 480.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.09475, allocations: 15.97 kB / 480.1 MB, free: 2.281 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.09477, allocations: 7.938 kB / 480.2 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 6.14e-05/0.09483, allocations: 15.86 kB / 480.2 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09484, allocations: 4 kB / 480.2 MB, free: 2.254 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.203e-06/0.09484, allocations: 0 / 480.2 MB, free: 2.254 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.418e-06/0.09484, allocations: 0 / 480.2 MB, free: 2.254 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0003982/0.09524, allocations: 260.9 kB / 480.4 MB, free: 1.969 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.09528, allocations: 8.031 kB / 480.4 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.09531, allocations: 8.891 kB / 480.4 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.09542, allocations: 110.5 kB / 480.6 MB, free: 1.82 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.09543, allocations: 8.375 kB / 480.6 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.09546, allocations: 4.375 kB / 480.6 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.09557, allocations: 42.25 kB / 480.6 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.09559, allocations: 192 / 480.6 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.0956, allocations: 7.938 kB / 480.6 MB, free: 1.754 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09561, allocations: 0 / 480.6 MB, free: 1.754 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.09565, allocations: 15.98 kB / 480.6 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.09597, allocations: 223.9 kB / 480.9 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.09608, allocations: 50.62 kB / 480.9 MB, free: 1.418 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.09612, allocations: 24.91 kB / 480.9 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.09613, allocations: 0 / 480.9 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.09616, allocations: 42.5 kB / 481 MB, free: 1.34 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.09616, allocations: 0 / 481 MB, free: 1.34 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007095/0.09687, allocations: 351.9 kB / 481.3 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.09691, allocations: 51.41 kB / 481.4 MB, free: 0.875 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.097, allocations: 101.8 kB / 481.5 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.09701, allocations: 29.7 kB / 481.5 MB, free: 0.7305 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.09706, allocations: 84.14 kB / 481.6 MB, free: 0.6445 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.0971, allocations: 35.69 kB / 481.6 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.09714, allocations: 21.72 kB / 481.6 MB, free: 0.582 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000138/0.09728, allocations: 318.8 kB / 481.9 MB, free: 268 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.09732, allocations: 23.86 kB / 482 MB, free: 244 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.09736, allocations: 33.7 kB / 482 MB, free: 204 kB / 334.1 MB
Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0)
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.09768, allocations: 97.84 kB / 482.1 MB, free: 100 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.09769, allocations: 0 / 482.1 MB, free: 100 kB / 334.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.09787, allocations: 95.33 kB / 482.2 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.09789, allocations: 4 kB / 482.2 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.09789, allocations: 0 / 482.2 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.09803, allocations: 32.67 kB / 482.2 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.09809, allocations: 12 kB / 482.2 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.09932, allocations: 1.288 MB / 483.5 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.09934, allocations: 4.062 kB / 483.5 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.09935, allocations: 4.031 kB / 483.5 MB, free: 14.53 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:
         x1 = 0.0
         v1 = 0.0.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (8):
 * Single equations (assignments): 7
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.09948, allocations: 121.7 kB / 483.6 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.0995, allocations: 192 / 483.6 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.09953, allocations: 8.062 kB / 483.7 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.09954, allocations: 7.984 kB / 483.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09954, allocations: 3.984 kB / 483.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.09954, allocations: 4 kB / 483.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.1, allocations: 336.9 kB / 484 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1, allocations: 4 kB / 484 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.1001, allocations: 8 kB / 484 MB, free: 13.97 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.1002, allocations: 24.72 kB / 484 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1002, allocations: 12.09 kB / 484 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1013, allocations: 1.276 MB / 485.3 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1013, allocations: 8.094 kB / 485.3 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1016, allocations: 231.2 kB / 485.6 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1016, allocations: 4.031 kB / 485.6 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1016, allocations: 4 kB / 485.6 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1017, allocations: 12 kB / 485.6 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1017, allocations: 7.984 kB / 485.6 MB, free: 12.26 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1017, allocations: 0 / 485.6 MB, free: 12.26 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.668e-05/0.1017, allocations: 87.41 kB / 485.7 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1017, allocations: 0 / 485.7 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002519/0.102, allocations: 11.94 kB / 485.7 MB, free: 12.16 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (x2,v2)
 * 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 (6):
 * Single equations (assignments): 5
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.1021, allocations: 107.2 kB / 485.8 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003505/0.1025, allocations: 162.7 kB / 485.9 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1025, allocations: 0 / 485.9 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.1027, allocations: 146.6 kB / 486.1 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1029, allocations: 5.875 kB / 486.1 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.1032, allocations: 188.8 kB / 486.3 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1035, allocations: 0.6807 MB / 487 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 2.264e-05/0.1036, allocations: 7.984 kB / 487 MB, free: 10.78 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.1036, allocations: 7.438 kB / 487 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.1036, allocations: 0 / 487 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of Templates: time 0.003549/0.1071, allocations: 0.7333 MB / 487.7 MB, free: 10.09 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile [Timeout 660]
(rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 4.289329167455435]
Failed to read output from testmodel.py, exit status != 0:
0.11475763283669949 0.140737727 0.040731271
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9dba5057b0>