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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004625/0.004625, allocations: 103.1 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05639/0.05639, allocations: 11.84 MB / 281.8 MB, free: 9.34 MB / 238.1 MB 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.002081/0.002081, allocations: 79.88 kB / 391.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2653, allocations: 49.22 MB / 441.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003538/0.2689, allocations: 2.803 MB / 443.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2715, allocations: 2.285 MB / 446.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2717, allocations: 3.781 kB / 446.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.2721, allocations: 95.59 kB / 446.3 MB, free: 0.5312 MB / 318.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.0004392/0.2725, allocations: 179.1 kB / 446.4 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.2734, allocations: 451 kB / 446.9 MB, free: 208 kB / 318.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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0004205/0.2738, allocations: 378.6 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.274, allocations: 64.75 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2743, allocations: 137 kB / 447.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.2745, allocations: 155.2 kB / 447.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.2746, allocations: 19.44 kB / 447.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005704/0.2751, allocations: 282.7 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2753, allocations: 64.84 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2754, allocations: 156.6 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.2762, allocations: 0.4977 MB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2762, allocations: 1.281 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2762, allocations: 4 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2763, allocations: 0 / 448.6 MB, free: 15.38 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.0009251/0.2772, allocations: 0.6436 MB / 449.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2772, allocations: 14.39 kB / 449.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.2773, allocations: 59.45 kB / 449.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.2774, allocations: 38.36 kB / 449.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.2778, allocations: 313.5 kB / 449.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2778, allocations: 15.03 kB / 449.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.2779, allocations: 19.94 kB / 449.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.2783, allocations: 226.4 kB / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2783, allocations: 0 / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.2783, allocations: 5.281 kB / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2784, allocations: 6.062 kB / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.2788, allocations: 244.2 kB / 450.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.2805, allocations: 1.334 MB / 451.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.2809, allocations: 165 kB / 451.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.2811, allocations: 79.17 kB / 451.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.2813, allocations: 181.2 kB / 451.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2813, allocations: 39.88 kB / 452 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.2813, allocations: 0 / 452 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02659/0.3079, allocations: 2.731 MB / 454.7 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.308, allocations: 59.22 kB / 454.7 MB, free: 10.94 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.3085, allocations: 363.5 kB / 455.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.3086, allocations: 30.73 kB / 455.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3088, allocations: 176 kB / 455.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3089, allocations: 102.9 kB / 455.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.3091, allocations: 78.83 kB / 455.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3093, allocations: 346.7 kB / 455.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/0.3102, allocations: 287.2 kB / 456.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/0.3111, allocations: 323.9 kB / 456.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3129, allocations: 0.5763 MB / 457 MB, free: 9.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3129, allocations: 0 / 457 MB, free: 9.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002824/0.3157, allocations: 0.8933 MB / 457.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3157, allocations: 4.5 kB / 457.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3158, allocations: 1.281 kB / 457.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.3181, allocations: 1.037 MB / 458.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3184, allocations: 64.17 kB / 459 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.3239, allocations: 1.824 MB / 460.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.3245, allocations: 42.8 kB / 460.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.3246, allocations: 20.45 kB / 460.9 MB, free: 6.91 MB / 334.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.0002494/0.3248, allocations: 160.9 kB / 461 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.325, allocations: 35.67 kB / 461.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/0.3285, allocations: 0.9882 MB / 462.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3286, allocations: 4 kB / 462.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3286, allocations: 4 kB / 462.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3286, allocations: 3.984 kB / 462.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/0.3343, allocations: 1.846 MB / 463.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3343, allocations: 0 / 463.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3346, allocations: 59.89 kB / 464 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.3366, allocations: 0.8603 MB / 464.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.3366, allocations: 15.98 kB / 464.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.3417, allocations: 1.753 MB / 466.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3417, allocations: 32 / 466.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.3443, allocations: 0.8785 MB / 467.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.3446, allocations: 176.8 kB / 467.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.3447, allocations: 4 kB / 467.7 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.3452, allocations: 39.91 kB / 467.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.3453, allocations: 19.97 kB / 467.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3454, allocations: 23.97 kB / 467.7 MB, free: 8 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.3457, allocations: 259.2 kB / 468 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3457, allocations: 0 / 468 MB, free: 15.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008371/0.3466, allocations: 231.5 kB / 468.2 MB, free: 15.54 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.004784/0.3513, allocations: 1.838 MB / 470.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004679/0.356, allocations: 0.7694 MB / 470.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3561, allocations: 0 / 470.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/0.3594, allocations: 471.8 kB / 471.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.36, allocations: 85.33 kB / 471.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.37, allocations: 4.766 MB / 476.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3704, allocations: 0.784 MB / 476.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.3706, allocations: 62.86 kB / 477 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3708, allocations: 107.4 kB / 477.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3708, allocations: 0 / 477.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/0.4159, allocations: 18.57 MB / 495.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.42, allocations: 12.59 kB / 495.7 MB, free: 3.883 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)