Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.001408/0.001408, 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.001535/0.001535, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05983/0.05983, allocations: 12.01 MB / 297.3 MB, free: 9.852 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest")
translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 67.89 kB / 416.8 MB, free: 42.41 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08215, allocations: 51.94 MB / 468.7 MB, free: 6.359 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004463/0.08662, allocations: 2.938 MB / 471.6 MB, free: 3.406 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003047/0.08966, allocations: 2.025 MB / 473.7 MB, free: 1.371 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.08978, allocations: 0 / 473.7 MB, free: 1.371 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.09003, allocations: 67.47 kB / 473.7 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.09043, allocations: 158.9 kB / 473.9 MB, free: 1.148 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.09124, allocations: 378.5 kB / 474.3 MB, free: 0.7773 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004487/0.09168, allocations: 374.2 kB / 474.6 MB, free: 420 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.09185, allocations: 65.61 kB / 474.7 MB, free: 352 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.09204, allocations: 139.5 kB / 474.8 MB, free: 212 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.09227, allocations: 151.3 kB / 475 MB, free: 60 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.09231, allocations: 24 kB / 475 MB, free: 36 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.09275, allocations: 247.9 kB / 475.2 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.09283, allocations: 59.83 kB / 475.3 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.09299, allocations: 155.2 kB / 475.4 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.09363, allocations: 454.3 kB / 475.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09364, allocations: 0 / 475.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.09364, allocations: 4 kB / 475.9 MB, free: 15.13 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.351e-06/0.09365, allocations: 4 kB / 475.9 MB, free: 15.13 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 57
 * Number of variables: 57
Notification: Performance of Generate backend data structure: time 0.0009402/0.09459, allocations: 0.5204 MB / 476.4 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09463, allocations: 15.98 kB / 476.4 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.09476, allocations: 40.69 kB / 476.5 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.09508, allocations: 206.1 kB / 476.7 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.09511, allocations: 16.88 kB / 476.7 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.09516, allocations: 36.06 kB / 476.7 MB, free: 14.24 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.09566, allocations: 274.7 kB / 477 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.09568, allocations: 0 / 477 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.09571, allocations: 8 kB / 477 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.09572, allocations: 8 kB / 477 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.09617, allocations: 217.9 kB / 477.2 MB, free: 13.74 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 preOpt removeSimpleEquations (simulation): time 0.001935/0.09811, allocations: 1.159 MB / 478.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.09842, allocations: 150.7 kB / 478.5 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.09856, allocations: 68.88 kB / 478.6 MB, free: 12.23 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.09868, allocations: 15.98 kB / 478.6 MB, free: 12.21 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.09871, allocations: 34.56 kB / 478.6 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.09871, allocations: 0 / 478.6 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001916/0.1006, allocations: 0.6627 MB / 479.3 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1007, allocations: 55.34 kB / 479.4 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.101, allocations: 265.9 kB / 479.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.101, allocations: 33.7 kB / 479.6 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1011, allocations: 160.4 kB / 479.8 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.1012, allocations: 75.36 kB / 479.9 MB, free: 10.87 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.1013, allocations: 57.88 kB / 479.9 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001606/0.1014, allocations: 334.8 kB / 480.3 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1016, allocations: 85.66 kB / 480.3 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1019, allocations: 122.9 kB / 480.5 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.1023, allocations: 205.9 kB / 480.7 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1023, allocations: 0 / 480.7 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005306/0.1028, allocations: 264 kB / 480.9 MB, free: 9.762 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1028, allocations: 4 kB / 480.9 MB, free: 9.758 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1028, allocations: 16.08 kB / 480.9 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1028, allocations: 0 / 480.9 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1031, allocations: 67.89 kB / 481 MB, free: 9.676 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1031, allocations: 4 kB / 481 MB, free: 9.672 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1033, allocations: 8 kB / 481 MB, free: 9.664 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1033, allocations: 15.98 kB / 481 MB, free: 9.648 MB / 350.1 MB
Warning: Assuming fixed start value for the following 1 variables:
         idealPump.phi:VARIABLE(unit = \"rad\" fixed = true )  \"Angle of rotation of pump\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (28):
 * Single equations (assignments): 28
 * 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.0001956/0.1035, allocations: 149.7 kB / 481.2 MB, free: 9.492 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.1035, allocations: 27.81 kB / 481.2 MB, free: 9.465 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.1041, allocations: 243.7 kB / 481.4 MB, free: 9.219 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1041, allocations: 0 / 481.4 MB, free: 9.219 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1041, allocations: 4 kB / 481.5 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1041, allocations: 0 / 481.5 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.1051, allocations: 0.6041 MB / 482.1 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1051, allocations: 0 / 482.1 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1054, allocations: 59.95 kB / 482.1 MB, free: 8.496 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1054, allocations: 4 kB / 482.1 MB, free: 8.492 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1054, allocations: 4 kB / 482.1 MB, free: 8.488 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1054, allocations: 4 kB / 482.1 MB, free: 8.484 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1054, allocations: 0 / 482.1 MB, free: 8.484 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.1061, allocations: 412.6 kB / 482.5 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.1062, allocations: 35.86 kB / 482.6 MB, free: 8.027 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1062, allocations: 8 kB / 482.6 MB, free: 8.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1064, allocations: 12.03 kB / 482.6 MB, free: 8.008 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1064, allocations: 19.95 kB / 482.6 MB, free: 7.988 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1065, allocations: 12.06 kB / 482.6 MB, free: 7.977 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002124/0.1067, allocations: 197.2 kB / 482.8 MB, free: 7.785 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1067, allocations: 0 / 482.8 MB, free: 7.785 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004251/0.1071, allocations: 119.7 kB / 482.9 MB, free: 7.668 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m)
 * 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 (22):
 * Single equations (assignments): 22
 * 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 Backend phase and start with SimCode phase: time 0.0002959/0.1074, allocations: 182.8 kB / 483.1 MB, free: 7.48 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004843/0.1079, allocations: 179.8 kB / 483.3 MB, free: 7.305 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1079, allocations: 0 / 483.3 MB, free: 7.305 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1081, allocations: 79.89 kB / 483.4 MB, free: 7.227 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.1085, allocations: 80.64 kB / 483.4 MB, free: 7.148 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1098, allocations: 0.6254 MB / 484.1 MB, free: 6.496 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1102, allocations: 0.7558 MB / 484.8 MB, free: 5.715 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001562/0.1103, allocations: 42.95 kB / 484.9 MB, free: 5.668 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.1104, allocations: 23.44 kB / 484.9 MB, free: 5.645 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.1104, allocations: 3.938 kB / 484.9 MB, free: 5.641 MB / 350.1 MB
Notification: Performance of Templates: time 0.01052/0.1209, allocations: 5.196 MB / 490.1 MB, free: 484 kB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.579783302731812]
Failed to read output from testmodel.py, exit status != 0:
0.12875825725495815 0.14439756 0.047515533000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbcd708d7b0>