Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.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.Circuits.OpenCenter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter") translateModel(OpenHydraulics.Circuits.OpenCenter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007394/0.0007393, allocations: 100.5 kB / 15.71 MB, free: 452 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.001213/0.001213, allocations: 175.4 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05596/0.05596, allocations: 11.85 MB / 282.9 MB, free: 9.469 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.0005987/0.0005988, allocations: 20 kB / 343.6 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1212, allocations: 50.22 MB / 393.8 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.OpenCenter): time 0.01621/0.1374, allocations: 17.03 MB / 410.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.1543, allocations: 6.321 MB / 417.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.1586, allocations: 55.75 kB / 417.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.1618, allocations: 0.781 MB / 418 MB, free: 11.94 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007914/0.1697, allocations: 1.781 MB / 419.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.1751, allocations: 1.413 MB / 421.2 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.1837, allocations: 4.997 MB / 426.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00406/0.1878, allocations: 1.165 MB / 427.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.1925, allocations: 1.47 MB / 428.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2474/0.4399, allocations: 1.787 MB / 430.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.4418, allocations: 153.8 kB / 430.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.4459, allocations: 356.3 kB / 431.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001863/0.4478, allocations: 0.7604 MB / 431.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.45, allocations: 0.7828 MB / 432.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007444/0.4575, allocations: 4.346 MB / 437 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4575, allocations: 4.094 kB / 437 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4575, allocations: 2.781 kB / 437 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.4577, allocations: 0 / 437 MB, free: 12.96 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 668 * Number of variables: 668 Notification: Performance of Generate backend data structure: time 0.009736/0.4675, allocations: 3.592 MB / 440.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4675, allocations: 10.5 kB / 440.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.4696, allocations: 435.9 kB / 441 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004918/0.4745, allocations: 2.139 MB / 443.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.4748, allocations: 318.5 kB / 443.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/0.4754, allocations: 273.3 kB / 443.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/0.4816, allocations: 3.041 MB / 446.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.4817, allocations: 4.469 kB / 446.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.482, allocations: 104.9 kB / 446.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.482, allocations: 69.92 kB / 446.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.4872, allocations: 2.749 MB / 449.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.5067, allocations: 15.83 MB / 465.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.5106, allocations: 3.016 MB / 468.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.5125, allocations: 1.171 MB / 469.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.5127, allocations: 133.1 kB / 469.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00211/0.5148, allocations: 1.355 MB / 471.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=240): time 4.058e-06/0.5149, allocations: 0 / 471.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=267): time 0.02138/0.5362, allocations: 10.74 MB / 481.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.5364, allocations: 319.2 kB / 482.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.5405, allocations: 3.029 MB / 485.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.5409, allocations: 77.7 kB / 485.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5421, allocations: 1.425 MB / 486.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007677/0.5428, allocations: 0.8948 MB / 487.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.543, allocations: 56 kB / 487.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5432, allocations: 407.3 kB / 488.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.5449, allocations: 1.026 MB / 489.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.5468, allocations: 1.378 MB / 490.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.5487, allocations: 1.316 MB / 491.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.5487, allocations: 4 kB / 491.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005542/0.5543, allocations: 3.572 MB / 495.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.5544, allocations: 225.6 kB / 495.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.5544, allocations: 12 kB / 495.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.555, allocations: 299.8 kB / 495.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.5571, allocations: 0.5555 MB / 496.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.5631, allocations: 8.211 MB / 0.4929 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.5659, allocations: 215.8 kB / 0.4931 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.5662, allocations: 112 kB / 0.4932 GB, free: 9.957 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real constantDisplacementPump.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))))))))))))))))) start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (valve4_3posOC.A2T.data.zetaLaminarKnown,valve4_3posOC.P2B.data.zetaLaminarKnown,valve4_3posOC.B2T.data.zetaLaminarKnown,valve4_3posOC.P2A.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,constantDisplacementPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.5685, allocations: 1.306 MB / 0.4945 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/0.5692, allocations: 337 kB / 0.4948 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.575, allocations: 3.64 MB / 0.4983 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.575, allocations: 31.98 kB / 0.4984 GB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.575, allocations: 7.953 kB / 0.4984 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.575, allocations: 19.94 kB / 0.4984 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.5879, allocations: 7.72 MB / 0.5059 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.588, allocations: 4 kB / 0.5059 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/0.59, allocations: 0.5022 MB / 0.5064 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.5905, allocations: 250.1 kB / 0.5067 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.5907, allocations: 83.95 kB / 0.5067 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.596, allocations: 7.784 MB / 0.5143 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.596, allocations: 9.734 kB / 0.5144 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007959/0.604, allocations: 4.92 MB / 0.5192 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.6059, allocations: 0.7427 MB / 0.5199 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008814/0.6068, allocations: 72 kB / 0.52 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.6088, allocations: 175.7 kB / 0.5201 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/0.6093, allocations: 321.2 kB / 0.5204 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.6096, allocations: 99.95 kB / 0.5205 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003598/0.6132, allocations: 2.083 MB / 0.5226 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6132, allocations: 4 kB / 0.5226 GB, free: 10.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003096/0.6163, allocations: 0.7773 MB / 0.5233 GB, free: 9.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 16 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,circuitTank.volumeOpen.m,valve4_3posOC.j2.volumeClosed.port[2].p,valve4_3posOC.j3.volumeClosed.port[2].p,valve4_3posOC.dynamicResponse.y,valve4_3posOC.dynamicResponse.yd,constantDisplacementPump.j2.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.6175, allocations: 0.5392 MB / 0.5239 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005079/0.6226, allocations: 3.53 MB / 0.5273 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6226, allocations: 4 kB / 0.5273 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.6256, allocations: 2.484 MB / 0.5297 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/0.6306, allocations: 0.9467 MB / 0.5307 GB, free: 2.188 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6426, allocations: 8.239 MB / 0.5387 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.6444, allocations: 2.134 MB / 0.5408 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.6457, allocations: 295.3 kB / 0.5411 GB, free: 7.41 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6457, allocations: 0 / 0.5411 GB, free: 7.41 MB / 414.1 MB Notification: Performance of Templates: time 0.2991/0.9447, allocations: 131 MB / 0.669 GB, free: 76.11 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.makefile make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.Circuits.OpenCenterCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.Circuits.OpenCenterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.Circuits.OpenCenterCalcHelperMain.o] Error 1