Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.001905/0.001905, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.002131/0.002131, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.403/1.403, allocations: 207.6 MB / 229.8 MB, free: 4.23 MB / 174.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.09486/0.09486, allocations: 12.02 MB / 293.7 MB, free: 4.457 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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) [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.003019/0.003019, allocations: 77.92 kB / 411 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2552, allocations: 51.88 MB / 462.9 MB, free: 15.36 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.CheckValveTest2): time 0.006496/0.2617, allocations: 4.386 MB / 467.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.2657, allocations: 2.17 MB / 469.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.2661, allocations: 13.25 kB / 469.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.2667, allocations: 175.3 kB / 469.7 MB, free: 10.01 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.0008373/0.2675, allocations: 363.7 kB / 470 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2686, allocations: 462.1 kB / 470.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2698, allocations: 1.013 MB / 471.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.2702, allocations: 217.3 kB / 471.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.2707, allocations: 364.4 kB / 472.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.2713, allocations: 425.1 kB / 472.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2714, allocations: 64.41 kB / 472.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.272, allocations: 272.3 kB / 472.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.2722, allocations: 186.5 kB / 473 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.2726, allocations: 413.7 kB / 473.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.274, allocations: 1.051 MB / 474.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.274, allocations: 0 / 474.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.274, allocations: 0 / 474.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.274, allocations: 0 / 474.4 MB, free: 6.707 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001767/0.2758, allocations: 1.066 MB / 475.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2758, allocations: 15.89 kB / 475.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.276, allocations: 94.69 kB / 475.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2762, allocations: 88.42 kB / 475.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.277, allocations: 0.5094 MB / 476.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.277, allocations: 45.31 kB / 476.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.2771, allocations: 59.95 kB / 476.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.2781, allocations: 0.553 MB / 476.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2781, allocations: 4 kB / 476.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.2782, allocations: 24 kB / 476.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.2782, allocations: 15.98 kB / 476.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2792, allocations: 0.5205 MB / 477.4 MB, free: 3.609 MB / 334.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.00383/0.2831, allocations: 2.836 MB / 480.3 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.2838, allocations: 427.3 kB / 480.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.2842, allocations: 180.8 kB / 480.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2843, allocations: 93.09 kB / 480.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.2844, allocations: 46.34 kB / 481 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.2844, allocations: 0 / 481 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002695/0.2871, allocations: 1.256 MB / 482.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2871, allocations: 55.41 kB / 482.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.288, allocations: 0.6446 MB / 482.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.288, allocations: 33.7 kB / 483 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.2883, allocations: 332.5 kB / 483.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.2884, allocations: 158.7 kB / 483.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.2886, allocations: 98.12 kB / 483.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.2888, allocations: 370.8 kB / 483.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.2891, allocations: 157 kB / 484.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.2895, allocations: 252.2 kB / 484.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.2927, allocations: 0.9459 MB / 485.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2927, allocations: 7.875 kB / 485.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001031/0.2937, allocations: 0.5391 MB / 485.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2938, allocations: 8 kB / 485.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2938, allocations: 0 / 485.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2938, allocations: 12.34 kB / 485.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.2943, allocations: 119.8 kB / 485.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2943, allocations: 4 kB / 485.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.2946, allocations: 16 kB / 486 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.2946, allocations: 23.98 kB / 486 MB, free: 10.52 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0004097/0.295, allocations: 233.6 kB / 486.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2951, allocations: 71.56 kB / 486.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.2962, allocations: 0.5183 MB / 486.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2962, allocations: 8 kB / 486.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2962, allocations: 0 / 486.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2962, allocations: 3.984 kB / 486.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2982, allocations: 1.221 MB / 488 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2982, allocations: 4 kB / 488 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.2987, allocations: 103.9 kB / 488.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2987, allocations: 4 kB / 488.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.2987, allocations: 19.94 kB / 488.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2987, allocations: 0 / 488.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2987, allocations: 0 / 488.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3, allocations: 0.7882 MB / 489 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.3003, allocations: 192.7 kB / 489.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.3004, allocations: 8 kB / 489.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.3007, allocations: 12 kB / 489.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.3007, allocations: 36.39 kB / 489.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3008, allocations: 19.98 kB / 489.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005826/0.3014, allocations: 471 kB / 489.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3014, allocations: 0 / 489.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.3019, allocations: 179.8 kB / 489.8 MB, free: 6.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.003006/0.3049, allocations: 1.643 MB / 491.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.3058, allocations: 394.2 kB / 491.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3058, allocations: 0 / 491.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3062, allocations: 198.4 kB / 492.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.3071, allocations: 227.8 kB / 492.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/0.3156, allocations: 5.717 MB / 498 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.3163, allocations: 0.9371 MB / 498.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.3167, allocations: 121.2 kB / 499.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.3171, allocations: 251.3 kB / 499.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3171, allocations: 0 / 499.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/0.3653, allocations: 17.11 MB / 0.5043 GB, free: 11.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.941/9.306, allocations: 3.953 kB / 0.5043 GB, free: 11.73 MB / 382.1 MB " [Timeout remaining time 651] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.840768164023757] Failed to read output from testmodel.py, exit status != 0: 9.44459005817771 9.467918259 9.189407892 Calling exit ...