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.0009869/0.0009869, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001009/0.001009, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.214/1.214, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05045/0.05045, allocations: 11.83 MB / 281.9 MB, free: 9.617 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.001288/0.001288, allocations: 71.83 kB / 342 MB, free: 22.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07258/0.07388, allocations: 49.22 MB / 391.2 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003644/0.07756, allocations: 3.032 MB / 394.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.07857, allocations: 0.7408 MB / 395 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.07868, allocations: 8 kB / 395 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.0788, allocations: 15.84 kB / 395 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.07911, allocations: 95.34 kB / 395.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.07925, allocations: 47.95 kB / 395.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.07949, allocations: 250.7 kB / 395.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.07963, allocations: 65.59 kB / 395.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.07976, allocations: 91.64 kB / 395.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.0799, allocations: 103.5 kB / 395.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.07993, allocations: 16 kB / 395.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.08003, allocations: 31.98 kB / 395.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.08006, allocations: 27.92 kB / 395.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.08016, allocations: 111.4 kB / 395.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.08033, allocations: 147.9 kB / 396 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08034, allocations: 0 / 396 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08035, allocations: 4 kB / 396 MB, free: 252 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.08036, allocations: 4 kB / 396 MB, free: 248 kB / 286.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.0005923/0.08096, allocations: 0.5003 MB / 396.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.081, allocations: 15.89 kB / 396.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.0811, allocations: 20.75 kB / 396.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.08132, allocations: 228 kB / 396.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.08134, allocations: 12.38 kB / 396.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.08138, allocations: 16.12 kB / 396.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.08169, allocations: 191.7 kB / 396.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.08171, allocations: 3.984 kB / 396.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.08173, allocations: 11.94 kB / 397 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.08174, allocations: 4 kB / 397 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.08197, allocations: 116.9 kB / 397.1 MB, free: 15.03 MB / 302.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.0009782/0.08295, allocations: 0.9373 MB / 398 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.08321, allocations: 142.8 kB / 398.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.08333, allocations: 64.83 kB / 398.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.08336, allocations: 4 kB / 398.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.08339, allocations: 38.5 kB / 398.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.08339, allocations: 0 / 398.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001601/0.085, allocations: 0.7542 MB / 399 MB, free: 12.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.08505, allocations: 81.11 kB / 399.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.08519, allocations: 178.7 kB / 399.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.08521, allocations: 29.7 kB / 399.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.08528, allocations: 124.3 kB / 399.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.08534, allocations: 74.92 kB / 399.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.0854, allocations: 37.7 kB / 399.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.08551, allocations: 330.8 kB / 399.8 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.08564, allocations: 64.81 kB / 399.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.08578, allocations: 96.25 kB / 400 MB, free: 11.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.08607, allocations: 210.1 kB / 400.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.08608, allocations: 7.938 kB / 400.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003455/0.08643, allocations: 230.9 kB / 400.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.08647, allocations: 33.7 kB / 400.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.08648, allocations: 3.938 kB / 400.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.0865, allocations: 8.031 kB / 400.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.08676, allocations: 59.89 kB / 400.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.08678, allocations: 4 kB / 400.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.0869, allocations: 16.08 kB / 400.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.08693, allocations: 8 kB / 400.6 MB, free: 11.21 MB / 302.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.0001847/0.08712, allocations: 156.4 kB / 400.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.08716, allocations: 15.81 kB / 400.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.08759, allocations: 265.1 kB / 401 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.0876, allocations: 4 kB / 401 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.08761, allocations: 0 / 401 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.08762, allocations: 3.984 kB / 401 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.08828, allocations: 0.5819 MB / 401.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0883, allocations: 0 / 401.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.08854, allocations: 51.91 kB / 401.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.08856, allocations: 4 kB / 401.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.08858, allocations: 8 kB / 401.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.08859, allocations: 3.938 kB / 401.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.08859, allocations: 0 / 401.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.08911, allocations: 404.8 kB / 402.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.0892, allocations: 108.8 kB / 402.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.08924, allocations: 4 kB / 402.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.08938, allocations: 12.06 kB / 402.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.08944, allocations: 15.97 kB / 402.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.08946, allocations: 8 kB / 402.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.08955, allocations: 135.2 kB / 402.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.08956, allocations: 0 / 402.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00027/0.08983, allocations: 51.94 kB / 402.4 MB, free: 9.273 MB / 302.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.0001205/0.08996, allocations: 119.1 kB / 402.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.09034, allocations: 226 kB / 402.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09035, allocations: 0 / 402.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.09052, allocations: 139.2 kB / 402.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.09085, allocations: 56.02 kB / 402.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.09161, allocations: 0.5844 MB / 403.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.09187, allocations: 0.7326 MB / 404.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.09194, allocations: 27.42 kB / 404.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09195, allocations: 0 / 404.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Templates: time 0.003862/0.09581, allocations: 2.784 MB / 407 MB, free: 4.543 MB / 302.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)