Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001077/0.001077, allocations: 187 kB / 16.25 MB, free: 6.629 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.361/1.361, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0527/0.0527, allocations: 11.83 MB / 281.3 MB, free: 9.605 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.001843/0.001843, allocations: 71.34 kB / 341.3 MB, free: 22.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1015, allocations: 49.22 MB / 390.5 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004995/0.1065, allocations: 3.354 MB / 393.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.1099, allocations: 2.041 MB / 395.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1102, allocations: 7.938 kB / 395.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1106, allocations: 51.67 kB / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.1111, allocations: 127.1 kB / 396.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.1121, allocations: 339.4 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.1126, allocations: 370.2 kB / 396.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1128, allocations: 81.5 kB / 396.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.113, allocations: 131.5 kB / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1133, allocations: 155.3 kB / 397.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1133, allocations: 24 kB / 397.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.1138, allocations: 247.7 kB / 397.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1139, allocations: 63.81 kB / 397.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.114, allocations: 155.2 kB / 397.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006123/0.1146, allocations: 450.8 kB / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1147, allocations: 4 kB / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1147, allocations: 0 / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1147, allocations: 0 / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000974/0.1157, allocations: 0.5885 MB / 398.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1157, allocations: 11.89 kB / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1158, allocations: 32.64 kB / 398.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1162, allocations: 271.6 kB / 399 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1162, allocations: 20.94 kB / 399 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.1162, allocations: 36.03 kB / 399.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.1167, allocations: 263.7 kB / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1168, allocations: 0 / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.1168, allocations: 12 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1168, allocations: 8 kB / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.1172, allocations: 222 kB / 399.5 MB, free: 11.91 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.00196/0.1192, allocations: 1.448 MB / 401 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1195, allocations: 146.8 kB / 401.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.1197, allocations: 72.83 kB / 401.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1199, allocations: 174.2 kB / 401.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1199, allocations: 34.56 kB / 401.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.1199, allocations: 0 / 401.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002047/0.122, allocations: 0.7335 MB / 402.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.122, allocations: 63.39 kB / 402.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.1224, allocations: 266.6 kB / 402.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1224, allocations: 29.7 kB / 402.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1225, allocations: 152.2 kB / 402.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.1226, allocations: 74.98 kB / 402.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.1227, allocations: 57.84 kB / 402.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1228, allocations: 330.8 kB / 403.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.123, allocations: 85.52 kB / 403.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1232, allocations: 126.9 kB / 403.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1236, allocations: 205.8 kB / 403.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1236, allocations: 0 / 403.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005163/0.1241, allocations: 265.1 kB / 403.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1242, allocations: 7.938 kB / 403.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1242, allocations: 4 kB / 403.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1242, allocations: 4 kB / 403.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1245, allocations: 67.89 kB / 403.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1245, allocations: 0 / 403.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1247, allocations: 20.14 kB / 403.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1247, allocations: 8 kB / 403.9 MB, free: 7.188 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: 7 * 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 (28): * Single equations (assignments): 28 * 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.0002032/0.1249, allocations: 150.6 kB / 404 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.125, allocations: 23.72 kB / 404 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.1255, allocations: 259.3 kB / 404.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1255, allocations: 4 kB / 404.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1255, allocations: 0 / 404.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1255, allocations: 0 / 404.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.1265, allocations: 0.6204 MB / 404.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1265, allocations: 0 / 404.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.1268, allocations: 67.98 kB / 405 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1268, allocations: 0 / 405 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1268, allocations: 4 kB / 405 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1268, allocations: 7.875 kB / 405 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1269, allocations: 0 / 405 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.1275, allocations: 407.8 kB / 405.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1276, allocations: 120.9 kB / 405.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1277, allocations: 7.984 kB / 405.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1279, allocations: 19.98 kB / 405.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1279, allocations: 7.984 kB / 405.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1279, allocations: 15.94 kB / 405.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.1281, allocations: 194 kB / 405.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1281, allocations: 0 / 405.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.1286, allocations: 115.9 kB / 405.9 MB, free: 5.082 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0003388/0.1289, allocations: 191 kB / 406.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.1294, allocations: 195.2 kB / 406.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1294, allocations: 0 / 406.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1296, allocations: 92.16 kB / 406.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.1301, allocations: 76.33 kB / 406.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1313, allocations: 0.7143 MB / 407.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1316, allocations: 0.7635 MB / 407.9 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.1318, allocations: 42.89 kB / 407.9 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.1319, allocations: 27.42 kB / 408 MB, free: 2.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1319, allocations: 4 kB / 408 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Templates: time 0.009654/0.1416, allocations: 4.925 MB / 412.9 MB, free: 14.04 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)