Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 109.2 kB / 16.27 MB, free: 6.355 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.001363/0.001363, allocations: 194.5 kB / 17.2 MB, free: 5.953 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.263/1.263, 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.05222/0.05222, allocations: 11.84 MB / 282.3 MB, free: 316 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.001792/0.001793, allocations: 63.91 kB / 342.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 49.21 MB / 391.7 MB, free: 49.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003563/0.2298, allocations: 2.631 MB / 394.3 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.2308, allocations: 0.6924 MB / 395 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.2309, allocations: 6.688 kB / 395 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.231, allocations: 27.92 kB / 395.1 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.2313, allocations: 118.9 kB / 395.2 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.2315, allocations: 45.06 kB / 395.2 MB, free: 46.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.2317, allocations: 246.1 kB / 395.5 MB, free: 46.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.2319, allocations: 61.75 kB / 395.5 MB, free: 46.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.232, allocations: 94.58 kB / 395.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2322, allocations: 103.7 kB / 395.7 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.2322, allocations: 18.81 kB / 395.7 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.2323, allocations: 34.34 kB / 395.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.2323, allocations: 39.48 kB / 395.8 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.2324, allocations: 96.59 kB / 395.9 MB, free: 46.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2327, allocations: 201 kB / 396.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2327, allocations: 0 / 396.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2327, allocations: 0 / 396.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2327, allocations: 1.625 kB / 396.1 MB, free: 46.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005667/0.2333, allocations: 0.5016 MB / 396.6 MB, free: 45.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2333, allocations: 20.73 kB / 396.6 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.2334, allocations: 25.53 kB / 396.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2336, allocations: 231 kB / 396.9 MB, free: 45.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2336, allocations: 16.06 kB / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.2337, allocations: 19.45 kB / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.234, allocations: 188 kB / 397.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.234, allocations: 1.094 kB / 397.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.234, allocations: 5.844 kB / 397.1 MB, free: 45.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.234, allocations: 8.625 kB / 397.1 MB, free: 45.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.2343, allocations: 123.8 kB / 397.2 MB, free: 45.31 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.0009387/0.2352, allocations: 0.9319 MB / 398.2 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2355, allocations: 148.2 kB / 398.3 MB, free: 44.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2356, allocations: 62.83 kB / 398.4 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2356, allocations: 1.562 kB / 398.4 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2357, allocations: 36.36 kB / 398.4 MB, free: 44.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2357, allocations: 0 / 398.4 MB, free: 44.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001656/0.2373, allocations: 0.7502 MB / 399.2 MB, free: 43.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2374, allocations: 81.42 kB / 399.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2375, allocations: 179.5 kB / 399.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2375, allocations: 32.77 kB / 399.4 MB, free: 43.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.2376, allocations: 126 kB / 399.6 MB, free: 43.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.2376, allocations: 68.56 kB / 399.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.2377, allocations: 46.86 kB / 399.7 MB, free: 43.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.2377, allocations: 328.2 kB / 400 MB, free: 43.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2379, allocations: 62.22 kB / 400.1 MB, free: 43.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.238, allocations: 90.14 kB / 400.1 MB, free: 42.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.2383, allocations: 215.1 kB / 400.4 MB, free: 42.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2383, allocations: 3.938 kB / 400.4 MB, free: 42.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003637/0.2387, allocations: 236.5 kB / 400.6 MB, free: 42.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2387, allocations: 38.83 kB / 400.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2387, allocations: 5.062 kB / 400.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2388, allocations: 2.281 kB / 400.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.239, allocations: 61.56 kB / 400.7 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.239, allocations: 2.734 kB / 400.7 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2392, allocations: 6.328 kB / 400.7 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2392, allocations: 16.61 kB / 400.7 MB, free: 42.63 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001831/0.2394, allocations: 158.3 kB / 400.9 MB, free: 42.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2394, allocations: 16.59 kB / 400.9 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.2399, allocations: 256.5 kB / 401.1 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2399, allocations: 2.25 kB / 401.1 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2399, allocations: 1.859 kB / 401.1 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2399, allocations: 1.5 kB / 401.1 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.2406, allocations: 0.5818 MB / 401.7 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2406, allocations: 0 / 401.7 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.2408, allocations: 54.75 kB / 401.8 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2408, allocations: 1.125 kB / 401.8 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2409, allocations: 1.188 kB / 401.8 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2409, allocations: 5.25 kB / 401.8 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2409, allocations: 1.188 kB / 401.8 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.2414, allocations: 410.8 kB / 402.2 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.2415, allocations: 112.3 kB / 402.3 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.2415, allocations: 10.19 kB / 402.3 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2416, allocations: 3.688 kB / 402.3 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2417, allocations: 18.75 kB / 402.3 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2417, allocations: 4.344 kB / 402.3 MB, free: 41.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.2418, allocations: 142.9 kB / 402.5 MB, free: 41.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2418, allocations: 0 / 402.5 MB, free: 41.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.2421, allocations: 47.72 kB / 402.5 MB, free: 41.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001139/0.2422, allocations: 111.1 kB / 402.6 MB, free: 41.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.2426, allocations: 227.9 kB / 402.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2427, allocations: 0 / 402.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2428, allocations: 144.8 kB / 403 MB, free: 40.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.2432, allocations: 45.8 kB / 403 MB, free: 40.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.244, allocations: 0.5105 MB / 403.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2442, allocations: 0.7334 MB / 404.3 MB, free: 39.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.2443, allocations: 24.83 kB / 404.3 MB, free: 39.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2443, allocations: 0 / 404.3 MB, free: 39.84 MB / 318.1 MB Notification: Performance of Templates: time 0.004313/0.2486, allocations: 2.787 MB / 407.1 MB, free: 38.42 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)