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.001042, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001095/0.001095, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05623/0.05623, allocations: 11.84 MB / 282.2 MB, free: 9.48 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.0005523/0.0005524, allocations: 16 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08506, allocations: 50.22 MB / 393.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002939/0.08803, allocations: 2.656 MB / 395.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.09044, allocations: 1.848 MB / 397.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.09061, allocations: 4 kB / 397.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.09084, allocations: 55.66 kB / 397.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.09131, allocations: 187.4 kB / 397.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.09205, allocations: 283.2 kB / 398.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.09242, allocations: 259.4 kB / 398.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.09261, allocations: 60.89 kB / 398.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.09279, allocations: 111.6 kB / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.09301, allocations: 123.5 kB / 398.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.09305, allocations: 16 kB / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.09347, allocations: 223.7 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.09354, allocations: 51.81 kB / 398.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.09362, allocations: 73.58 kB / 399 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.09405, allocations: 323.5 kB / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09406, allocations: 0 / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09407, allocations: 0 / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.09409, allocations: 0 / 399.3 MB, free: 13.96 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.0009384/0.09503, allocations: 0.5495 MB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.09508, allocations: 12.03 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.09524, allocations: 35.58 kB / 399.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.09559, allocations: 258.6 kB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.09563, allocations: 20.56 kB / 400.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.09568, allocations: 19.91 kB / 400.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.09619, allocations: 279.6 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.09622, allocations: 0 / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.09625, allocations: 8 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.09627, allocations: 8 kB / 400.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.09669, allocations: 226 kB / 400.7 MB, free: 12.47 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.002014/0.09871, allocations: 1.456 MB / 402.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.09906, allocations: 158.8 kB / 402.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.09925, allocations: 170.2 kB / 402.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.09929, allocations: 38.56 kB / 402.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.746e-06/0.0993, allocations: 4 kB / 402.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001787/0.1011, allocations: 0.7655 MB / 403.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1011, allocations: 55.41 kB / 403.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1014, allocations: 274.6 kB / 403.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1015, allocations: 25.7 kB / 403.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1016, allocations: 156.2 kB / 403.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1016, allocations: 78.98 kB / 403.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.1016, allocations: 4 kB / 403.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1018, allocations: 334.8 kB / 404.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.102, allocations: 89.22 kB / 404.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1022, allocations: 130.9 kB / 404.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1023, allocations: 87.91 kB / 404.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1024, allocations: 0 / 404.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004513/0.1028, allocations: 273.1 kB / 404.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1028, allocations: 6.188 kB / 404.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1028, allocations: 0 / 404.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1029, allocations: 4 kB / 404.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1031, allocations: 76.05 kB / 404.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1032, allocations: 0 / 404.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1033, allocations: 19.94 kB / 404.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1033, allocations: 15.94 kB / 404.9 MB, free: 7.922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.1035, allocations: 145.8 kB / 405.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1036, allocations: 27.72 kB / 405.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.1041, allocations: 247.6 kB / 405.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1041, allocations: 4 kB / 405.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1041, allocations: 0 / 405.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1041, allocations: 4 kB / 405.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.105, allocations: 0.6282 MB / 406 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.105, allocations: 3.984 kB / 406 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1052, allocations: 64 kB / 406 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1052, allocations: 0 / 406 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1053, allocations: 11.98 kB / 406 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1053, allocations: 3.953 kB / 406 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1053, allocations: 7.938 kB / 406.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1059, allocations: 421.8 kB / 406.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.106, allocations: 124.7 kB / 406.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.1061, allocations: 11.95 kB / 406.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1063, allocations: 8 kB / 406.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1063, allocations: 24.03 kB / 406.6 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1063, allocations: 8 kB / 406.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1065, allocations: 198 kB / 406.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1065, allocations: 0 / 406.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.107, allocations: 111.9 kB / 406.9 MB, free: 5.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.1073, allocations: 183 kB / 407.1 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.1077, allocations: 191.3 kB / 407.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1077, allocations: 0 / 407.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1079, allocations: 96.27 kB / 407.4 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1083, allocations: 68.48 kB / 407.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1093, allocations: 0.7534 MB / 408.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1096, allocations: 0.7677 MB / 409 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1098, allocations: 38.94 kB / 409 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.1098, allocations: 39.36 kB / 409.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1098, allocations: 3.938 kB / 409.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of Templates: time 0.00765/0.1175, allocations: 4.569 MB / 413.6 MB, free: 15.05 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: