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: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 101.1 kB / 16.29 MB, free: 6.125 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.001104/0.001104, allocations: 185 kB / 17.22 MB, free: 5.734 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.316/1.316, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05565/0.05565, allocations: 11.84 MB / 282.3 MB, free: 304 kB / 222.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.001506/0.001506, allocations: 71.81 kB / 342.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2099, allocations: 49.21 MB / 391.8 MB, free: 49.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003913/0.2139, allocations: 3.249 MB / 395 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2161, allocations: 1.825 MB / 396.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.2162, allocations: 6.875 kB / 396.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2166, allocations: 107.5 kB / 396.9 MB, free: 45.45 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.0004039/0.217, allocations: 199.6 kB / 397.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.2177, allocations: 313.7 kB / 397.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.2181, allocations: 497.6 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2183, allocations: 120.9 kB / 398.1 MB, free: 44.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.2185, allocations: 180.3 kB / 398.2 MB, free: 44.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2188, allocations: 202.1 kB / 398.4 MB, free: 44.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2188, allocations: 31.34 kB / 398.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.2192, allocations: 228.3 kB / 398.7 MB, free: 44.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2193, allocations: 93.05 kB / 398.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.2195, allocations: 204.2 kB / 399 MB, free: 44.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.2201, allocations: 0.5791 MB / 399.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2201, allocations: 0 / 399.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2202, allocations: 0 / 399.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2202, allocations: 0 / 399.6 MB, free: 44.2 MB / 318.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.0009894/0.2212, allocations: 0.697 MB / 400.2 MB, free: 43.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2212, allocations: 17.23 kB / 400.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2213, allocations: 47.06 kB / 400.3 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.2217, allocations: 325.4 kB / 400.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.2217, allocations: 28.62 kB / 400.7 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2218, allocations: 25.75 kB / 400.7 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.2223, allocations: 316.6 kB / 401 MB, free: 43.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2223, allocations: 5.094 kB / 401 MB, free: 43.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2224, allocations: 10.19 kB / 401 MB, free: 43.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2224, allocations: 10.19 kB / 401 MB, free: 43.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.2228, allocations: 260.2 kB / 401.3 MB, free: 42.95 MB / 318.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.001597/0.2244, allocations: 1.469 MB / 402.7 MB, free: 41.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.2249, allocations: 225.9 kB / 403 MB, free: 41.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.225, allocations: 105 kB / 403.1 MB, free: 41.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-05/0.2251, allocations: 84.42 kB / 403.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2251, allocations: 31.56 kB / 403.2 MB, free: 41.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.2252, allocations: 5.125 kB / 403.2 MB, free: 41.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001901/0.2271, allocations: 0.8598 MB / 404 MB, free: 40.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.2271, allocations: 62.53 kB / 404.1 MB, free: 40.59 MB / 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 selectInitializationVariablesDAE (initialization): time 0.0003688/0.2275, allocations: 379.5 kB / 404.5 MB, free: 40.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2275, allocations: 31.27 kB / 404.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.2276, allocations: 185.7 kB / 404.7 MB, free: 40.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.2277, allocations: 93.67 kB / 404.8 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.2277, allocations: 59.53 kB / 404.8 MB, free: 40.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.2278, allocations: 342.8 kB / 405.2 MB, free: 39.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.228, allocations: 104.3 kB / 405.3 MB, free: 39.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2282, allocations: 153.3 kB / 405.4 MB, free: 39.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.2287, allocations: 258.9 kB / 405.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2287, allocations: 4 kB / 405.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005456/0.2292, allocations: 310.6 kB / 406 MB, free: 39.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2293, allocations: 5.562 kB / 406 MB, free: 39.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2293, allocations: 6.25 kB / 406 MB, free: 39.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2293, allocations: 4.188 kB / 406 MB, free: 39.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.2297, allocations: 85.02 kB / 406.1 MB, free: 39.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2297, allocations: 7 kB / 406.1 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2299, allocations: 14.52 kB / 406.1 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2299, allocations: 9.156 kB / 406.1 MB, free: 39.12 MB / 318.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.0001915/0.2301, allocations: 173.5 kB / 406.3 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.2302, allocations: 36.28 kB / 406.3 MB, free: 38.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.2308, allocations: 319 kB / 406.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2309, allocations: 7.594 kB / 406.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2309, allocations: 0 / 406.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2309, allocations: 0 / 406.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.2318, allocations: 0.7574 MB / 407.4 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2318, allocations: 5.125 kB / 407.4 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2322, allocations: 77.02 kB / 407.5 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2322, allocations: 2.5 kB / 407.5 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2322, allocations: 10.3 kB / 407.5 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2322, allocations: 1.406 kB / 407.5 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2322, allocations: 0 / 407.5 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.233, allocations: 0.4935 MB / 408 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2331, allocations: 138.2 kB / 408.1 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.2332, allocations: 6.375 kB / 408.1 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2334, allocations: 13.17 kB / 408.1 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2334, allocations: 22.33 kB / 408.2 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.2335, allocations: 9.828 kB / 408.2 MB, free: 37.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.2337, allocations: 270.5 kB / 408.4 MB, free: 37.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2337, allocations: 0 / 408.4 MB, free: 37.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000457/0.2342, allocations: 123.2 kB / 408.5 MB, free: 37.43 MB / 318.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.000886/0.2351, allocations: 416.9 kB / 409 MB, free: 37.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.2356, allocations: 230.4 kB / 409.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2356, allocations: 1.281 kB / 409.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2358, allocations: 122 kB / 409.3 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.2364, allocations: 110.4 kB / 409.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2375, allocations: 0.7805 MB / 410.2 MB, free: 36.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.2377, allocations: 0.7989 MB / 411 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.2379, allocations: 63.17 kB / 411 MB, free: 35.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.238, allocations: 43.42 kB / 411.1 MB, free: 35.41 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.238, allocations: 0 / 411.1 MB, free: 35.41 MB / 318.1 MB Notification: Performance of Templates: time 0.008472/0.2464, allocations: 5.982 MB / 417.1 MB, free: 29.48 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)