Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.001332/0.001332, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001772/0.001772, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.469/1.469, allocations: 207.6 MB / 233 MB, free: 10.02 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.06028/0.06028, allocations: 12.01 MB / 297.3 MB, free: 9.863 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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest")
translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [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.002347/0.002347, allocations: 71.88 kB / 416.8 MB, free: 42.41 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08913, allocations: 51.94 MB / 468.7 MB, free: 6.379 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value.
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.005489/0.09462, allocations: 3.303 MB / 472 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003197/0.09782, allocations: 1.859 MB / 473.9 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.09802, allocations: 4 kB / 473.9 MB, free: 1.188 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.09832, allocations: 111.2 kB / 474 MB, free: 1.078 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'.
Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.09881, allocations: 206.7 kB / 474.2 MB, free: 0.875 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.0996, allocations: 322.9 kB / 474.5 MB, free: 0.5586 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005835/0.1002, allocations: 497.8 kB / 475 MB, free: 72 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1004, allocations: 79.92 kB / 475.1 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1007, allocations: 183.3 kB / 475.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.101, allocations: 203.2 kB / 475.4 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.101, allocations: 32 kB / 475.5 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.1014, allocations: 239.8 kB / 475.7 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.1015, allocations: 83.64 kB / 475.8 MB, free: 15.26 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1017, allocations: 214.9 kB / 476 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.1025, allocations: 0.5722 MB / 476.6 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1025, allocations: 0 / 476.6 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.102e-06/0.1025, allocations: 3.938 kB / 476.6 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.233e-06/0.1026, allocations: 0 / 476.6 MB, free: 14.47 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: 67
 * Number of variables: 67
Notification: Performance of Generate backend data structure: time 0.00115/0.1037, allocations: 0.637 MB / 477.2 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1037, allocations: 11.98 kB / 477.2 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.1039, allocations: 44.7 kB / 477.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.1043, allocations: 274.4 kB / 477.5 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1044, allocations: 20.59 kB / 477.5 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1044, allocations: 28 kB / 477.6 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.105, allocations: 325 kB / 477.9 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1051, allocations: 0 / 477.9 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.1051, allocations: 8 kB / 477.9 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.1051, allocations: 8 kB / 477.9 MB, free: 13.06 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.1056, allocations: 266.4 kB / 478.2 MB, free: 12.8 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.002146/0.1078, allocations: 1.331 MB / 479.5 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.1082, allocations: 214.6 kB / 479.7 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.1084, allocations: 92.8 kB / 479.8 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.1085, allocations: 20 kB / 479.8 MB, free: 11 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1085, allocations: 30.56 kB / 479.8 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1086, allocations: 0 / 479.8 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of matching and sorting (n=27): time 0.002201/0.1108, allocations: 0.7844 MB / 480.6 MB, free: 10.15 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1108, allocations: 67.28 kB / 480.7 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.1113, allocations: 373.6 kB / 481.1 MB, free: 9.695 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1113, allocations: 33.7 kB / 481.1 MB, free: 9.656 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1115, allocations: 196.7 kB / 481.3 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.1116, allocations: 95.17 kB / 481.4 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.1117, allocations: 57.92 kB / 481.4 MB, free: 9.305 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001807/0.1118, allocations: 342.8 kB / 481.8 MB, free: 8.961 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.1121, allocations: 102 kB / 481.9 MB, free: 8.859 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1123, allocations: 164.6 kB / 482 MB, free: 8.672 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.1128, allocations: 253 kB / 482.3 MB, free: 8.398 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1128, allocations: 0 / 482.3 MB, free: 8.398 MB / 350.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006386/0.1135, allocations: 317.1 kB / 482.6 MB, free: 8.082 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1135, allocations: 8 kB / 482.6 MB, free: 8.074 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1135, allocations: 7.938 kB / 482.6 MB, free: 8.066 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1135, allocations: 4 kB / 482.6 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1139, allocations: 79.89 kB / 482.7 MB, free: 7.984 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1139, allocations: 7.938 kB / 482.7 MB, free: 7.977 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1141, allocations: 15.92 kB / 482.7 MB, free: 7.961 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1141, allocations: 12 kB / 482.7 MB, free: 7.949 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: 9
 * Number of states: 0 ()
 * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (34):
 * Single equations (assignments): 34
 * 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.0002487/0.1144, allocations: 171.5 kB / 482.9 MB, free: 7.773 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1144, allocations: 35.77 kB / 482.9 MB, free: 7.738 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.1152, allocations: 317.5 kB / 483.2 MB, free: 7.422 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1152, allocations: 4 kB / 483.2 MB, free: 7.418 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1152, allocations: 0 / 483.2 MB, free: 7.418 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1152, allocations: 4 kB / 483.2 MB, free: 7.414 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1164, allocations: 0.7326 MB / 484 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1164, allocations: 0 / 484 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.1168, allocations: 75.89 kB / 484 MB, free: 6.559 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1168, allocations: 3.938 kB / 484 MB, free: 6.555 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1168, allocations: 8 kB / 484.1 MB, free: 6.547 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1168, allocations: 3.984 kB / 484.1 MB, free: 6.543 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1168, allocations: 8 kB / 484.1 MB, free: 6.535 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.1177, allocations: 0.4884 MB / 484.6 MB, free: 6.027 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1179, allocations: 59.8 kB / 484.6 MB, free: 5.969 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.1179, allocations: 7.953 kB / 484.6 MB, free: 5.961 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.1181, allocations: 8 kB / 484.6 MB, free: 5.953 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.1182, allocations: 28.02 kB / 484.7 MB, free: 5.926 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1182, allocations: 12 kB / 484.7 MB, free: 5.914 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003638/0.1186, allocations: 275.2 kB / 484.9 MB, free: 5.645 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1186, allocations: 0 / 484.9 MB, free: 5.645 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005202/0.1191, allocations: 119.7 kB / 485.1 MB, free: 5.527 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (30):
 * Single equations (assignments): 30
 * 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.001442/0.1205, allocations: 411.8 kB / 485.5 MB, free: 5.23 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005776/0.1211, allocations: 220.1 kB / 485.7 MB, free: 5.016 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.1211, allocations: 4.062 kB / 485.7 MB, free: 5.012 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.1214, allocations: 124.2 kB / 485.8 MB, free: 4.891 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.1219, allocations: 101.4 kB / 485.9 MB, free: 4.793 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1235, allocations: 0.7887 MB / 486.7 MB, free: 3.977 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.124, allocations: 0.8028 MB / 487.5 MB, free: 3.145 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002469/0.1243, allocations: 59.25 kB / 487.5 MB, free: 3.086 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1244, allocations: 39.42 kB / 487.6 MB, free: 3.047 MB / 350.1 MB
Notification: Performance of SimCode: time 4.1e-07/0.1244, allocations: 0 / 487.6 MB, free: 3.047 MB / 350.1 MB
Notification: Performance of Templates: time 0.01327/0.1376, allocations: 6.244 MB / 493.8 MB, free: 12.82 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.773338068276644]
Failed to read output from testmodel.py, exit status != 0:
0.14526261389255524 0.161499881 0.055787936
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4aaccfd7b0>