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.001043/0.001043, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004992/0.004992, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05489/0.05489, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.0005892/0.0005893, allocations: 12.7 kB / 343.5 MB, free: 22.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08617, allocations: 50.22 MB / 393.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003518/0.08973, allocations: 2.985 MB / 396.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.09271, allocations: 2.072 MB / 398.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.09297, allocations: 7.938 kB / 398.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.09324, allocations: 51.72 kB / 398.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.09363, allocations: 127.1 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.09436, allocations: 298.6 kB / 399.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.09476, allocations: 370.2 kB / 399.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.09493, allocations: 81.2 kB / 399.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.0951, allocations: 111.5 kB / 399.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.0953, allocations: 139.3 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.09534, allocations: 12 kB / 400 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.09574, allocations: 235.7 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.09581, allocations: 51.83 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.09596, allocations: 168.9 kB / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.09646, allocations: 434.7 kB / 400.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09648, allocations: 0 / 400.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09648, allocations: 0 / 400.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09649, allocations: 0 / 400.8 MB, free: 12.73 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.0007735/0.09727, allocations: 0.5419 MB / 401.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.09732, allocations: 16.03 kB / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.09744, allocations: 40.5 kB / 401.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.09772, allocations: 259.7 kB / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.09775, allocations: 16.94 kB / 401.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.0978, allocations: 28.12 kB / 401.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.09827, allocations: 271.7 kB / 402 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.09829, allocations: 4 kB / 402 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.09833, allocations: 11.94 kB / 402 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.09834, allocations: 15.98 kB / 402 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.09875, allocations: 222.1 kB / 402.2 MB, free: 11.22 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.001895/0.1007, allocations: 1.456 MB / 403.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1009, allocations: 154.7 kB / 403.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.1011, allocations: 72.83 kB / 403.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.1013, allocations: 170.2 kB / 404.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1013, allocations: 34.56 kB / 404.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.1013, allocations: 0 / 404.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001938/0.1033, allocations: 0.7703 MB / 404.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1033, allocations: 55.41 kB / 405 MB, free: 8.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1036, allocations: 262.7 kB / 405.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1037, allocations: 29.7 kB / 405.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1038, allocations: 164.2 kB / 405.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.1039, allocations: 74.84 kB / 405.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.1039, allocations: 29.7 kB / 405.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1041, allocations: 338.8 kB / 405.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1043, allocations: 81.28 kB / 405.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.1045, allocations: 134.9 kB / 406 MB, free: 7.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.1049, allocations: 217.8 kB / 406.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1049, allocations: 4 kB / 406.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005756/0.1055, allocations: 265.2 kB / 406.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.1055, allocations: 10.19 kB / 406.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1056, allocations: 0 / 406.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1056, allocations: 7.984 kB / 406.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.1059, allocations: 75.83 kB / 406.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1059, allocations: 4 kB / 406.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1061, allocations: 12 kB / 406.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1061, allocations: 16.05 kB / 406.6 MB, free: 6.43 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.0002267/0.1063, allocations: 146.6 kB / 406.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.1064, allocations: 27.72 kB / 406.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.1069, allocations: 259.5 kB / 407.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.107, allocations: 4 kB / 407.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.107, allocations: 0 / 407.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.107, allocations: 0 / 407.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.1079, allocations: 0.6361 MB / 407.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.108, allocations: 0 / 407.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1082, allocations: 55.97 kB / 407.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1082, allocations: 7.938 kB / 407.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1083, allocations: 7.984 kB / 407.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1083, allocations: 3.938 kB / 407.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1083, allocations: 4 kB / 407.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.1089, allocations: 416 kB / 408.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1091, allocations: 128.8 kB / 408.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1091, allocations: 8.062 kB / 408.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1093, allocations: 16 kB / 408.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1094, allocations: 11.97 kB / 408.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1094, allocations: 11.94 kB / 408.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.1096, allocations: 198 kB / 408.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1096, allocations: 0 / 408.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.1101, allocations: 108 kB / 408.7 MB, free: 4.301 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.0003262/0.1104, allocations: 183 kB / 408.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.1109, allocations: 195.7 kB / 409 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1109, allocations: 8.062 kB / 409 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.1111, allocations: 91.89 kB / 409.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.1116, allocations: 72.47 kB / 409.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1127, allocations: 0.7926 MB / 410 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1131, allocations: 0.7638 MB / 410.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.1133, allocations: 46.88 kB / 410.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.1133, allocations: 27.44 kB / 410.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1133, allocations: 0 / 410.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of Templates: time 0.009215/0.1226, allocations: 4.723 MB / 415.5 MB, free: 13.38 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: