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.001448/0.001448, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001457/0.001457, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05862/0.05862, allocations: 11.85 MB / 282.4 MB, free: 236 kB / 222.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.002466/0.002466, allocations: 72.75 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09428, allocations: 49.23 MB / 442.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003668/0.09794, allocations: 2.909 MB / 445.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.1013, allocations: 2.013 MB / 447.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1015, allocations: 0 / 447.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1018, allocations: 51.56 kB / 447.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.1022, allocations: 162.9 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.1031, allocations: 381.8 kB / 447.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1035, allocations: 378.1 kB / 448.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1037, allocations: 65.48 kB / 448.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1039, allocations: 135.5 kB / 448.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1042, allocations: 147.4 kB / 448.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.1042, allocations: 24 kB / 448.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1046, allocations: 251.7 kB / 448.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.1047, allocations: 59.77 kB / 448.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1049, allocations: 155.3 kB / 448.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.1055, allocations: 454.4 kB / 449.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1056, allocations: 0 / 449.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1056, allocations: 4 kB / 449.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1056, allocations: 0 / 449.4 MB, free: 10.91 MB / 334.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.0009959/0.1066, allocations: 0.5997 MB / 450 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1066, allocations: 11.89 kB / 450 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1067, allocations: 40.7 kB / 450 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.1071, allocations: 271.8 kB / 450.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1071, allocations: 12.94 kB / 450.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.1072, allocations: 28.12 kB / 450.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.1077, allocations: 271.7 kB / 450.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1077, allocations: 0 / 450.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1078, allocations: 12 kB / 450.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1078, allocations: 4 kB / 450.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1082, allocations: 226.1 kB / 450.8 MB, free: 9.355 MB / 334.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.00218/0.1104, allocations: 1.441 MB / 452.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1107, allocations: 142.8 kB / 452.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1109, allocations: 72.83 kB / 452.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.1111, allocations: 170.2 kB / 452.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1112, allocations: 30.56 kB / 452.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1112, allocations: 4 kB / 452.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002041/0.1132, allocations: 0.7393 MB / 453.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1133, allocations: 55.41 kB / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.1136, allocations: 270.7 kB / 453.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1136, allocations: 25.7 kB / 453.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1137, allocations: 164.3 kB / 453.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.1138, allocations: 79.36 kB / 454 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.1139, allocations: 49.89 kB / 454.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1141, allocations: 338.8 kB / 454.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1143, allocations: 81.72 kB / 454.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1145, allocations: 130.9 kB / 454.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.1149, allocations: 209.1 kB / 454.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1149, allocations: 0 / 454.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005432/0.1155, allocations: 261.2 kB / 455.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1155, allocations: 8 kB / 455.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1155, allocations: 0 / 455.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1155, allocations: 7.938 kB / 455.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.1158, allocations: 71.89 kB / 455.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1158, allocations: 4 kB / 455.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.116, allocations: 11.98 kB / 455.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.116, allocations: 12.16 kB / 455.2 MB, free: 4.641 MB / 334.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.0002177/0.1162, allocations: 157.6 kB / 455.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.1163, allocations: 31.75 kB / 455.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.1169, allocations: 235.6 kB / 455.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1169, allocations: 3.984 kB / 455.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1169, allocations: 8 kB / 455.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.117, allocations: 116.9 kB / 455.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.1171, allocations: 4 kB / 455.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1172, allocations: 15.98 kB / 455.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.1173, allocations: 11.92 kB / 455.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000678/0.118, allocations: 317.1 kB / 456.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007482/0.1187, allocations: 490.3 kB / 456.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001868/0.1189, allocations: 71.98 kB / 456.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1191, allocations: 198 kB / 456.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.1191, allocations: 0 / 456.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.12, allocations: 274.9 kB / 457.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of SimCode: time 0.001496/0.1215, allocations: 1.086 MB / 458.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of Templates: time 0.01153/0.1331, allocations: 5.352 MB / 463.5 MB, free: 12.23 MB / 350.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)