Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001338/0.001338, 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.001385/0.001385, allocations: 192.2 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.01 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.002965/0.002965, allocations: 0.5847 MB / 306.9 MB, free: 8.023 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState")
translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 68.14 kB / 427.2 MB, free: 23.36 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.0945, allocations: 52.33 MB / 479.5 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.003082/0.09758, allocations: 1.673 MB / 481.2 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003236/0.09791, allocations: 95.67 kB / 481.3 MB, free: 1.156 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.09797, allocations: 4 kB / 481.3 MB, free: 1.152 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.09802, allocations: 15.86 kB / 481.3 MB, free: 1.137 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000109/0.09813, allocations: 27.72 kB / 481.3 MB, free: 1.109 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.09827, allocations: 31.95 kB / 481.3 MB, free: 1.078 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001607/0.09843, allocations: 107.5 kB / 481.4 MB, free: 0.9727 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.09858, allocations: 27.97 kB / 481.5 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.09865, allocations: 39.86 kB / 481.5 MB, free: 0.9062 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.09875, allocations: 51.77 kB / 481.6 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.09877, allocations: 8 kB / 481.6 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.09879, allocations: 8 kB / 481.6 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.09882, allocations: 19.92 kB / 481.6 MB, free: 0.8203 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.0989, allocations: 47.8 kB / 481.6 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.09908, allocations: 115.4 kB / 481.8 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09908, allocations: 8 kB / 481.8 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.954e-06/0.09908, allocations: 0 / 481.8 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.461e-06/0.09909, allocations: 0 / 481.8 MB, free: 0.6523 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.0005793/0.09967, allocations: 324.8 kB / 482.1 MB, free: 312 kB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.09971, allocations: 8.031 kB / 482.1 MB, free: 304 kB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.09975, allocations: 12.89 kB / 482.1 MB, free: 292 kB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.09994, allocations: 130.4 kB / 482.2 MB, free: 136 kB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.09996, allocations: 8.562 kB / 482.2 MB, free: 128 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.09999, allocations: 12.38 kB / 482.2 MB, free: 116 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1002, allocations: 95.47 kB / 482.3 MB, free: 16 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1002, allocations: 4 kB / 482.3 MB, free: 12 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1002, allocations: 3.984 kB / 482.3 MB, free: 8 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1003, allocations: 0 / 482.3 MB, free: 8 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1004, allocations: 59.95 kB / 482.4 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.101, allocations: 363.7 kB / 482.8 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1012, allocations: 98.48 kB / 482.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.1013, allocations: 36.78 kB / 482.9 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1013, allocations: 4 kB / 482.9 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1013, allocations: 34.56 kB / 482.9 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.1013, allocations: 0 / 482.9 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001118/0.1024, allocations: 0.5411 MB / 483.5 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1025, allocations: 51.41 kB / 483.5 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1026, allocations: 117.8 kB / 483.6 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1026, allocations: 33.7 kB / 483.7 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.1027, allocations: 96.34 kB / 483.8 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.1027, allocations: 63.48 kB / 483.8 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.1028, allocations: 37.7 kB / 483.9 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001806/0.103, allocations: 322.8 kB / 484.2 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.1031, allocations: 31.98 kB / 484.2 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1032, allocations: 58.56 kB / 484.3 MB, free: 13.91 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a)
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.1038, allocations: 220.6 kB / 484.5 MB, free: 13.69 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1038, allocations: 3.938 kB / 484.5 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002475/0.104, allocations: 151.7 kB / 484.6 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1041, allocations: 4 kB / 484.6 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1041, allocations: 0 / 484.6 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1041, allocations: 4 kB / 484.6 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1043, allocations: 39.95 kB / 484.7 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1043, allocations: 0 / 484.7 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1043, allocations: 11.98 kB / 484.7 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1043, allocations: 4 kB / 484.7 MB, free: 13.47 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.a = $START.mass2.a.
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 (19):
 * Single equations (assignments): 19
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1045, allocations: 139.2 kB / 484.8 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.1045, allocations: 11.95 kB / 484.8 MB, free: 13.31 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1046, allocations: 12.78 kB / 484.9 MB, free: 13.3 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1046, allocations: 7.984 kB / 484.9 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1046, allocations: 0 / 484.9 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1046, allocations: 4 kB / 484.9 MB, free: 13.29 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.000722/0.1053, allocations: 0.5551 MB / 485.4 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1053, allocations: 0 / 485.4 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1055, allocations: 31.92 kB / 485.5 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.1056, allocations: 24.94 kB / 485.5 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1056, allocations: 7.938 kB / 485.5 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1067, allocations: 1.264 MB / 486.7 MB, free: 11.2 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1067, allocations: 4 kB / 486.8 MB, free: 11.2 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1071, allocations: 310.8 kB / 487.1 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.1071, allocations: 7.953 kB / 487.1 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1072, allocations: 0 / 487.1 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.1072, allocations: 8 kB / 487.1 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.1073, allocations: 15.91 kB / 487.1 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1073, allocations: 8 kB / 487.1 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 6.773e-05/0.1074, allocations: 91.27 kB / 487.2 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 0 / 487.2 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002836/0.1076, allocations: 32.06 kB / 487.2 MB, free: 10.7 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.0001189/0.1078, allocations: 99.25 kB / 487.3 MB, free: 10.6 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002413/0.108, allocations: 103.8 kB / 487.4 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.108, allocations: 0 / 487.4 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.1083, allocations: 161.4 kB / 487.6 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1086, allocations: 28.23 kB / 487.6 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.1093, allocations: 391 kB / 488 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1097, allocations: 0.7084 MB / 488.7 MB, free: 9.148 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.956e-05/0.1097, allocations: 9.078 kB / 488.7 MB, free: 9.141 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.1098, allocations: 15.44 kB / 488.7 MB, free: 9.125 MB / 350.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.1098, allocations: 0 / 488.7 MB, free: 9.125 MB / 350.1 MB
Notification: Performance of Templates: time 0.004742/0.1145, allocations: 1.494 MB / 490.2 MB, free: 7.684 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660]
(rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.336661288514733]
Failed to read output from testmodel.py, exit status != 0:
0.12227640114724636 0.138047312 0.035834448000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f76cf0757b0>