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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05396/0.05396, allocations: 11.84 MB / 281.6 MB, free: 9.418 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.002288/0.002288, allocations: 71.34 kB / 341.8 MB, free: 22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 49.23 MB / 391 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004286/0.1186, allocations: 2.62 MB / 393.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.12, allocations: 0.7018 MB / 394.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.1202, allocations: 4 kB / 394.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.1204, allocations: 23.72 kB / 394.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1208, allocations: 115.2 kB / 394.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.121, allocations: 47.94 kB / 394.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1213, allocations: 246.7 kB / 394.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1215, allocations: 69.62 kB / 394.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1216, allocations: 91.64 kB / 395 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1218, allocations: 103.5 kB / 395.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.1219, allocations: 16 kB / 395.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.122, allocations: 32 kB / 395.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.122, allocations: 39.83 kB / 395.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1221, allocations: 103.5 kB / 395.2 MB, free: 500 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1224, allocations: 207.6 kB / 395.4 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1224, allocations: 0 / 395.4 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1224, allocations: 0 / 395.4 MB, free: 292 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1224, allocations: 0 / 395.4 MB, free: 292 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.0006531/0.1231, allocations: 0.5003 MB / 395.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1231, allocations: 15.83 kB / 396 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1233, allocations: 24.73 kB / 396 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1235, allocations: 224 kB / 396.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1235, allocations: 20.38 kB / 396.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.1236, allocations: 20.12 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.1239, allocations: 187.7 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1239, allocations: 0 / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.124, allocations: 4 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.124, allocations: 4 kB / 396.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.1242, allocations: 124.9 kB / 396.6 MB, free: 15.07 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.001156/0.1254, allocations: 0.9296 MB / 397.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1257, allocations: 146.8 kB / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1258, allocations: 64.83 kB / 397.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1259, allocations: 3.984 kB / 397.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1259, allocations: 34.56 kB / 397.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1259, allocations: 0 / 397.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001864/0.1278, allocations: 0.7588 MB / 398.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1278, allocations: 89.09 kB / 398.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.128, allocations: 174.7 kB / 398.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.128, allocations: 29.7 kB / 398.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.1281, allocations: 128.3 kB / 398.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.1282, allocations: 63.02 kB / 399 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.1283, allocations: 41.69 kB / 399 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1284, allocations: 326.8 kB / 399.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1286, allocations: 68.81 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1287, allocations: 84.27 kB / 399.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.129, allocations: 222.2 kB / 399.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1291, allocations: 0 / 399.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003938/0.1295, allocations: 234.9 kB / 399.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.1295, allocations: 29.7 kB / 399.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1295, allocations: 7.938 kB / 400 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1295, allocations: 0 / 400 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1298, allocations: 67.98 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1298, allocations: 4 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.13, allocations: 7.938 kB / 400 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.13, allocations: 11.98 kB / 400 MB, free: 11.27 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.0002537/0.1302, allocations: 168.3 kB / 400.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1303, allocations: 15.81 kB / 400.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.1308, allocations: 265.1 kB / 400.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1308, allocations: 4 kB / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1308, allocations: 4 kB / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1308, allocations: 0 / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.1315, allocations: 0.574 MB / 401.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1316, allocations: 0 / 401.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1318, allocations: 63.95 kB / 401.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1318, allocations: 0 / 401.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1318, allocations: 15.88 kB / 401.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1319, allocations: 0 / 401.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1319, allocations: 0 / 401.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1325, allocations: 396.8 kB / 401.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.1326, allocations: 112.9 kB / 401.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1326, allocations: 11.98 kB / 401.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1328, allocations: 4 kB / 401.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.1328, allocations: 11.98 kB / 401.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1329, allocations: 4 kB / 401.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.133, allocations: 139.2 kB / 401.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.133, allocations: 0 / 401.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1333, allocations: 48 kB / 401.9 MB, free: 9.32 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.0001468/0.1335, allocations: 119.2 kB / 402 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1339, allocations: 219.7 kB / 402.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1339, allocations: 0 / 402.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1341, allocations: 147.2 kB / 402.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1345, allocations: 44.25 kB / 402.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009163/0.1354, allocations: 492.8 kB / 402.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1357, allocations: 0.7365 MB / 403.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1359, allocations: 25.88 kB / 403.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.1359, allocations: 23.42 kB / 403.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1359, allocations: 4 kB / 403.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of Templates: time 0.006735/0.1427, allocations: 2.699 MB / 406.3 MB, free: 4.781 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)