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.00122/0.00122, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001304/0.001304, allocations: 188.3 kB / 22.85 MB, free: 5.645 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.347/1.347, allocations: 207.6 MB / 233.6 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.0614/0.0614, allocations: 12.01 MB / 297.8 MB, free: 9.898 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.002262/0.002262, allocations: 75.89 kB / 417.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0727/0.07496, allocations: 51.95 MB / 469.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004757/0.07972, allocations: 2.907 MB / 472.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.08326, allocations: 2.029 MB / 474.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.08348, allocations: 11.94 kB / 474.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.08378, allocations: 59.55 kB / 474.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.08428, allocations: 146.9 kB / 474.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.0853, allocations: 382.6 kB / 474.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.08584, allocations: 378.1 kB / 475 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.08602, allocations: 61.61 kB / 475.1 MB, free: 424 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.08626, allocations: 139.5 kB / 475.2 MB, free: 284 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.08655, allocations: 147.4 kB / 475.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.0866, allocations: 27.94 kB / 475.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.08708, allocations: 243.7 kB / 475.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.08717, allocations: 55.83 kB / 475.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.08735, allocations: 159.2 kB / 475.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.08805, allocations: 450.4 kB / 476.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.08806, allocations: 0 / 476.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08806, allocations: 0 / 476.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.08807, allocations: 0 / 476.3 MB, free: 15.21 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.001048/0.08912, allocations: 0.5243 MB / 476.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.08915, allocations: 15.98 kB / 476.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.08929, allocations: 36.7 kB / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.08967, allocations: 210.1 kB / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.08969, allocations: 20.81 kB / 477.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.08975, allocations: 32.06 kB / 477.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.09029, allocations: 266.8 kB / 477.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.09031, allocations: 0 / 477.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.09033, allocations: 16 kB / 477.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.09034, allocations: 4 kB / 477.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.09081, allocations: 221.9 kB / 477.6 MB, free: 13.82 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.002055/0.09286, allocations: 1.155 MB / 478.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.09317, allocations: 153.3 kB / 478.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.09334, allocations: 68.83 kB / 479 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.09346, allocations: 15.98 kB / 479 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.09349, allocations: 38.56 kB / 479 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.09349, allocations: 0 / 479 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001944/0.09544, allocations: 0.6578 MB / 479.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.09548, allocations: 63.28 kB / 479.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.09579, allocations: 265.9 kB / 480 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.09583, allocations: 29.69 kB / 480.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.09595, allocations: 164.4 kB / 480.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.09602, allocations: 75.38 kB / 480.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.09611, allocations: 53.89 kB / 480.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.09628, allocations: 334.8 kB / 480.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.09648, allocations: 81.72 kB / 480.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.09671, allocations: 126.9 kB / 480.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.09711, allocations: 205.8 kB / 481.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09712, allocations: 0 / 481.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005429/0.09766, allocations: 264.3 kB / 481.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.09768, allocations: 10.81 kB / 481.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.09768, allocations: 0 / 481.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.0977, allocations: 4 kB / 481.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.09802, allocations: 71.89 kB / 481.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.09802, allocations: 4 kB / 481.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.09819, allocations: 16.14 kB / 481.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.09821, allocations: 8 kB / 481.4 MB, free: 9.734 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.0002025/0.09842, allocations: 157.6 kB / 481.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.09848, allocations: 27.81 kB / 481.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.09905, allocations: 239.7 kB / 481.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.09905, allocations: 4 kB / 481.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.09906, allocations: 0 / 481.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.09906, allocations: 3.984 kB / 481.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1001, allocations: 0.6041 MB / 482.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1001, allocations: 4 kB / 482.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.1004, allocations: 59.95 kB / 482.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1004, allocations: 4.031 kB / 482.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1004, allocations: 4 kB / 482.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1004, allocations: 0 / 482.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1004, allocations: 4 kB / 482.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.1012, allocations: 404.6 kB / 482.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1013, allocations: 43.89 kB / 483 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.1013, allocations: 8.047 kB / 483 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1015, allocations: 15.97 kB / 483 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1015, allocations: 15.97 kB / 483 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1016, allocations: 8 kB / 483 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1018, allocations: 197.2 kB / 483.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1018, allocations: 0 / 483.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.1023, allocations: 115.7 kB / 483.3 MB, free: 7.75 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.0003342/0.1026, allocations: 186.8 kB / 483.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1031, allocations: 171.8 kB / 483.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1031, allocations: 0 / 483.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1033, allocations: 88.27 kB / 483.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.1037, allocations: 68.34 kB / 483.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.105, allocations: 0.6254 MB / 484.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1054, allocations: 0.7635 MB / 485.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1056, allocations: 38.95 kB / 485.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.1057, allocations: 35.42 kB / 485.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1057, allocations: 0 / 485.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of Templates: time 0.01084/0.1165, allocations: 5.186 MB / 490.5 MB, free: 0.5586 MB / 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.376568559993757] Failed to read output from testmodel.py, exit status != 0: 0.12416595899412641 0.140194064 0.048935095000000005 Calling exit ...