Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.001275/0.001275, 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.001263/0.001263, allocations: 188.6 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.402/1.402, allocations: 207.6 MB / 229.8 MB, free: 4.25 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.0587/0.0587, allocations: 12.02 MB / 293.7 MB, free: 4.465 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.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",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.002212/0.002212, allocations: 71.89 kB / 411 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2505, allocations: 51.88 MB / 462.9 MB, free: 15.25 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 sine.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.ThrottleValveTest2): time 0.004586/0.2551, allocations: 2.823 MB / 465.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.2586, allocations: 2.3 MB / 468 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2588, allocations: 2.531 kB / 468 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2591, allocations: 95.94 kB / 468.1 MB, free: 11.12 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.0005238/0.2597, allocations: 192.2 kB / 468.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2607, allocations: 441.8 kB / 468.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.2612, allocations: 380.7 kB / 469.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.2613, allocations: 48.17 kB / 469.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2615, allocations: 134.5 kB / 469.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2618, allocations: 156.7 kB / 469.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2618, allocations: 20.25 kB / 469.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.2624, allocations: 287.8 kB / 469.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.2625, allocations: 58.27 kB / 469.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.2626, allocations: 156.2 kB / 470 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.2634, allocations: 0.5015 MB / 470.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2634, allocations: 5.156 kB / 470.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2634, allocations: 0 / 470.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2634, allocations: 0 / 470.5 MB, free: 9.633 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001024/0.2644, allocations: 0.6512 MB / 471.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2645, allocations: 12.92 kB / 471.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.2645, allocations: 53.23 kB / 471.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.2646, allocations: 41.89 kB / 471.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.2651, allocations: 315.7 kB / 471.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2651, allocations: 11.94 kB / 471.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2651, allocations: 21.94 kB / 471.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2655, allocations: 222.1 kB / 471.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2656, allocations: 0 / 471.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.2656, allocations: 9.781 kB / 471.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2656, allocations: 5.125 kB / 471.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2661, allocations: 244 kB / 472 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.2679, allocations: 1.33 MB / 473.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2683, allocations: 166.8 kB / 473.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.2684, allocations: 77.36 kB / 473.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.2686, allocations: 168.9 kB / 473.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2687, allocations: 39.72 kB / 473.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2687, allocations: 1.344 kB / 473.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02803/0.2967, allocations: 2.732 MB / 476.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2968, allocations: 59.34 kB / 476.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.2972, allocations: 349.7 kB / 477 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.2973, allocations: 33.7 kB / 477 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2974, allocations: 176.8 kB / 477.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.2975, allocations: 115.1 kB / 477.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.2977, allocations: 81.66 kB / 477.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2979, allocations: 342.8 kB / 477.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008847/0.2988, allocations: 283.8 kB / 478 MB, free: 2.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.2997, allocations: 323 kB / 478.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.3015, allocations: 0.5726 MB / 478.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3015, allocations: 4 kB / 478.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002945/0.3045, allocations: 0.889 MB / 479.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3045, allocations: 4 kB / 479.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3045, allocations: 7.938 kB / 479.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.3069, allocations: 1.032 MB / 480.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.3072, allocations: 59.89 kB / 480.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.313, allocations: 1.831 MB / 482.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.3136, allocations: 39.94 kB / 482.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.3137, allocations: 32.02 kB / 482.7 MB, free: 13.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.3139, allocations: 149.8 kB / 482.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.314, allocations: 35.77 kB / 482.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.3177, allocations: 0.9779 MB / 483.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3177, allocations: 8 kB / 483.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3177, allocations: 0 / 483.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3178, allocations: 4 kB / 483.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/0.3238, allocations: 1.85 MB / 485.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3239, allocations: 0 / 485.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3241, allocations: 55.91 kB / 485.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.3261, allocations: 0.8603 MB / 486.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.3262, allocations: 19.97 kB / 486.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/0.3315, allocations: 1.749 MB / 488.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3315, allocations: 0 / 488.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.3341, allocations: 0.8707 MB / 489.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.3344, allocations: 172.8 kB / 489.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.3345, allocations: 4 kB / 489.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.3351, allocations: 48.02 kB / 489.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3352, allocations: 23.97 kB / 489.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.3352, allocations: 23.98 kB / 489.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.3355, allocations: 255.2 kB / 489.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 489.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007755/0.3363, allocations: 231.5 kB / 490.1 MB, free: 6.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00489/0.3412, allocations: 1.831 MB / 491.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.3462, allocations: 0.7499 MB / 492.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3462, allocations: 0 / 492.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.3498, allocations: 459.8 kB / 493.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.3505, allocations: 89.25 kB / 493.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3612, allocations: 4.747 MB / 497.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.3617, allocations: 0.784 MB / 498.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.362, allocations: 62.88 kB / 498.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.3622, allocations: 111.4 kB / 498.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3622, allocations: 0 / 498.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.4107, allocations: 18.64 MB / 0.5054 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.75, allocations: 8.812 kB / 0.5054 GB, free: 10.54 MB / 382.1 MB " [Timeout remaining time 647] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.13440900016576] Failed to read output from testmodel.py, exit status != 0: 12.903068380896002 12.926386786 12.658667443 Calling exit ...