Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.001311/0.001311, allocations: 102.7 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.001259/0.001259, 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.397/1.397, allocations: 207.6 MB / 229.8 MB, free: 4.234 MB / 174.1 MB " [Timeout remaining time 179] 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.0594/0.0594, allocations: 12.01 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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.002407/0.002407, allocations: 70.48 kB / 411 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2505, allocations: 51.89 MB / 462.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003713/0.2542, allocations: 1.939 MB / 464.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.2571, allocations: 1.88 MB / 466.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2573, allocations: 2.25 kB / 466.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.2575, allocations: 40.95 kB / 466.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.2579, allocations: 90.28 kB / 466.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.2588, allocations: 347.8 kB / 467.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.2591, allocations: 173.9 kB / 467.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2592, allocations: 27.34 kB / 467.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2593, allocations: 61.59 kB / 467.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2594, allocations: 64.25 kB / 467.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.2594, allocations: 10.28 kB / 467.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.2599, allocations: 235.9 kB / 467.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.26, allocations: 24.55 kB / 467.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.2601, allocations: 79.25 kB / 467.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.2606, allocations: 284 kB / 468.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2606, allocations: 0 / 468.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2606, allocations: 0.9688 kB / 468.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2606, allocations: 0 / 468.2 MB, free: 11.41 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006505/0.2612, allocations: 485 kB / 468.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2613, allocations: 13.39 kB / 468.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.2613, allocations: 45.36 kB / 468.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2614, allocations: 18.16 kB / 468.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2617, allocations: 214.9 kB / 468.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2617, allocations: 12.19 kB / 468.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2617, allocations: 10.03 kB / 468.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.262, allocations: 119.1 kB / 469.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.262, allocations: 3.984 kB / 469.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.262, allocations: 9.188 kB / 469.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.262, allocations: 2.688 kB / 469.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2622, allocations: 119.2 kB / 469.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2635, allocations: 0.9228 MB / 470.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2636, allocations: 60.33 kB / 470.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.2637, allocations: 21.92 kB / 470.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2638, allocations: 86.44 kB / 470.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2638, allocations: 31.81 kB / 470.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2638, allocations: 0 / 470.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002952/0.2641, allocations: 108.4 kB / 470.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2642, allocations: 51.41 kB / 470.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.2644, allocations: 210.5 kB / 470.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2644, allocations: 25.7 kB / 470.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.2645, allocations: 123.5 kB / 470.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2645, allocations: 19.42 kB / 470.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.2646, allocations: 26.42 kB / 470.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2647, allocations: 329.6 kB / 471.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.2648, allocations: 26.8 kB / 471.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2649, allocations: 29.33 kB / 471.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.265, allocations: 67.56 kB / 471.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.265, allocations: 1.75 kB / 471.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002139/0.2652, allocations: 119 kB / 471.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2652, allocations: 5.188 kB / 471.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2652, allocations: 0 / 471.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2652, allocations: 4.969 kB / 471.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2653, allocations: 19.45 kB / 471.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2653, allocations: 0 / 471.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.2654, allocations: 10.42 kB / 471.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2654, allocations: 4 kB / 471.5 MB, free: 8.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0001068/0.2655, allocations: 127.6 kB / 471.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2656, allocations: 13.41 kB / 471.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.2658, allocations: 98.69 kB / 471.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2658, allocations: 1.188 kB / 471.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2658, allocations: 5.125 kB / 471.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2658, allocations: 3.984 kB / 471.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.2663, allocations: 402 kB / 472.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2663, allocations: 0 / 472.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.2664, allocations: 11.53 kB / 472.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2664, allocations: 1.344 kB / 472.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2664, allocations: 1.938 kB / 472.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2664, allocations: 0.9688 kB / 472.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.2664, allocations: 3.938 kB / 472.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2666, allocations: 190.3 kB / 472.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.2667, allocations: 98.77 kB / 472.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2667, allocations: 5.188 kB / 472.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.2668, allocations: 1.031 kB / 472.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2668, allocations: 6.094 kB / 472.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.2668, allocations: 6.266 kB / 472.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.267, allocations: 155 kB / 472.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.267, allocations: 1.312 kB / 472.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.2674, allocations: 86.06 kB / 472.6 MB, free: 7.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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.0007174/0.2681, allocations: 0.7927 MB / 473.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.2683, allocations: 66.78 kB / 473.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2683, allocations: 0 / 473.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.2683, allocations: 20.59 kB / 473.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2687, allocations: 55.2 kB / 473.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2708, allocations: 1.828 MB / 475.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.2712, allocations: 0.7076 MB / 476.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.2713, allocations: 25.88 kB / 476.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.2713, allocations: 41.89 kB / 476.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2713, allocations: 0 / 476.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.2988, allocations: 5.083 MB / 481.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.306, allocations: 11.91 kB / 481.3 MB, free: 15.26 MB / 350.1 MB " [Timeout remaining time 652] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.581014527007937] Failed to read output from testmodel.py, exit status != 0: 8.3778389650397 8.398214074 8.134641446 Calling exit ...