Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",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.004663/0.004663, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001076/0.001076, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.243/1.243, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05196/0.05196, allocations: 11.84 MB / 281.7 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.001469/0.001469, allocations: 72.36 kB / 391.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2317, allocations: 49.23 MB / 441.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004488/0.2362, allocations: 3.241 MB / 444.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2386, allocations: 1.831 MB / 446.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2389, allocations: 9.062 kB / 446.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.2393, allocations: 110.4 kB / 446.3 MB, free: 0.5352 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.000494/0.2398, allocations: 192.8 kB / 446.4 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.2405, allocations: 325.7 kB / 446.8 MB, free: 252 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 sinusoid.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.0005121/0.2411, allocations: 0.4904 MB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.2413, allocations: 125.2 kB / 447.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2415, allocations: 186.1 kB / 447.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.2419, allocations: 199.9 kB / 447.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.2419, allocations: 33.22 kB / 447.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.2423, allocations: 224.8 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2425, allocations: 95.98 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.2427, allocations: 203.9 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.2434, allocations: 0.58 MB / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2434, allocations: 0 / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2434, allocations: 0 / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2434, allocations: 1.031 kB / 448.9 MB, free: 15.18 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001059/0.2445, allocations: 0.6917 MB / 449.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2445, allocations: 14.05 kB / 449.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.2446, allocations: 67.66 kB / 449.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.2447, allocations: 46.78 kB / 449.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.2451, allocations: 329.5 kB / 450 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.2452, allocations: 21.44 kB / 450 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.2452, allocations: 29.72 kB / 450.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.2457, allocations: 316.1 kB / 450.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2458, allocations: 3.094 kB / 450.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.2458, allocations: 8 kB / 450.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2458, allocations: 7.406 kB / 450.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.2463, allocations: 259.5 kB / 450.7 MB, free: 13.8 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.001872/0.2481, allocations: 1.466 MB / 452.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.2485, allocations: 229.6 kB / 452.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.2487, allocations: 98.19 kB / 452.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/0.2488, allocations: 83.98 kB / 452.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2489, allocations: 35.94 kB / 452.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.2489, allocations: 0 / 452.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001994/0.2509, allocations: 0.8626 MB / 453.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2509, allocations: 62.66 kB / 453.5 MB, free: 11.44 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2514, allocations: 379.9 kB / 453.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.2514, allocations: 26.92 kB / 453.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2515, allocations: 193.9 kB / 454.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.2516, allocations: 89.41 kB / 454.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.2517, allocations: 67 kB / 454.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2518, allocations: 339.9 kB / 454.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.252, allocations: 103.8 kB / 454.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.2523, allocations: 153.9 kB / 454.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.2527, allocations: 266.7 kB / 455.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2527, allocations: 1.062 kB / 455.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005749/0.2533, allocations: 309.6 kB / 455.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2533, allocations: 9.844 kB / 455.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2533, allocations: 2.469 kB / 455.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2534, allocations: 3.812 kB / 455.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.2537, allocations: 84.39 kB / 455.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2537, allocations: 7.281 kB / 455.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.2539, allocations: 13.95 kB / 455.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.254, allocations: 17.69 kB / 455.5 MB, free: 9.949 MB / 334.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: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002006/0.2542, allocations: 166.3 kB / 455.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.2542, allocations: 39.66 kB / 455.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.2549, allocations: 310 kB / 456 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2549, allocations: 7.172 kB / 456 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2549, allocations: 1.688 kB / 456 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2549, allocations: 0 / 456 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.256, allocations: 0.7534 MB / 456.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.256, allocations: 1.031 kB / 456.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.2563, allocations: 73.73 kB / 456.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2563, allocations: 5.188 kB / 456.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2564, allocations: 10.33 kB / 456.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2564, allocations: 1.125 kB / 456.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2564, allocations: 1.219 kB / 456.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.2572, allocations: 0.4981 MB / 457.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2573, allocations: 141.8 kB / 457.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.2574, allocations: 9.375 kB / 457.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2576, allocations: 15.05 kB / 457.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2576, allocations: 16.94 kB / 457.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2577, allocations: 10.62 kB / 457.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.258, allocations: 269.7 kB / 457.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.258, allocations: 0 / 457.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.2585, allocations: 119.7 kB / 457.9 MB, free: 8.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 30 * 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.001803/0.2603, allocations: 1.346 MB / 459.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.2608, allocations: 235.2 kB / 459.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2608, allocations: 0 / 459.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.261, allocations: 127.2 kB / 459.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.2616, allocations: 93.77 kB / 459.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.2659, allocations: 3.491 MB / 463.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2663, allocations: 0.8053 MB / 464 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.2665, allocations: 59.23 kB / 464.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2667, allocations: 127.4 kB / 464.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2667, allocations: 0 / 464.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.2954, allocations: 9.944 MB / 474.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.109, allocations: 4.688 kB / 474.1 MB, free: 9.602 MB / 350.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)