Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.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.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") translateModel(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 102.7 kB / 15.71 MB, free: 460 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.001578/0.001578, allocations: 174.5 kB / 16.58 MB, free: 6.039 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.243/2.243, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05138/0.05138, allocations: 11.85 MB / 282.9 MB, free: 9.473 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.0005858/0.0005858, allocations: 20 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 50.22 MB / 393.8 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.0219/0.1424, allocations: 21.63 MB / 415.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.1603, allocations: 7.875 MB / 423.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005288/0.1656, allocations: 75.69 kB / 423.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.1687, allocations: 0.9516 MB / 424.3 MB, free: 5.586 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/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. Notification: Performance of NFTyping.typeBindings: time 0.008173/0.1769, allocations: 2.277 MB / 426.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006189/0.1831, allocations: 1.829 MB / 428.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2465/0.4296, allocations: 6.645 MB / 435.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.4332, allocations: 1.56 MB / 436.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.4388, allocations: 1.942 MB / 438.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006604/0.4455, allocations: 2.334 MB / 440.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002057/0.4476, allocations: 199.2 kB / 441.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.4513, allocations: 415.4 kB / 441.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.4532, allocations: 0.9855 MB / 442.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003102/0.4563, allocations: 1.037 MB / 443.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007546/0.4639, allocations: 5.877 MB / 449.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4639, allocations: 0 / 449.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4639, allocations: 2.516 kB / 449.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002219/0.4641, allocations: 0 / 449.4 MB, free: 9.953 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.008691/0.4728, allocations: 4.644 MB / 454 MB, free: 6.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4729, allocations: 9.438 kB / 454 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.4744, allocations: 0.5612 MB / 454.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.479, allocations: 2.818 MB / 457.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.4793, allocations: 387.9 kB / 457.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.4799, allocations: 371.5 kB / 458.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/0.4864, allocations: 4.092 MB / 462.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/0.4865, allocations: 11.52 kB / 462.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.4867, allocations: 142.1 kB / 462.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.4868, allocations: 84 kB / 462.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00559/0.4924, allocations: 3.778 MB / 466.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.5159, allocations: 20.01 MB / 486.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005186/0.5211, allocations: 3.853 MB / 490.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.5235, allocations: 1.54 MB / 491.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.5238, allocations: 159.9 kB / 491.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/0.5264, allocations: 1.732 MB / 493.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=308): time 4.578e-06/0.5265, allocations: 0 / 493.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=335): time 0.02446/0.5509, allocations: 13.41 MB / 0.4951 GB, free: 9.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.5511, allocations: 402.5 kB / 0.4955 GB, free: 8.637 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Continuous.mo:900:5-900:57:writable] Warning: Parameter PCLSPump.swashPlatePD.yMax has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/0.5559, allocations: 3.989 MB / 0.4994 GB, free: 4.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003754/0.5563, allocations: 89.7 kB / 0.4995 GB, free: 4.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.5578, allocations: 1.922 MB / 0.5013 GB, free: 2.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000956/0.5587, allocations: 1.121 MB / 0.5024 GB, free: 1.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.5589, allocations: 71.94 kB / 0.5025 GB, free: 1.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5591, allocations: 437 kB / 0.5029 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.5613, allocations: 1.369 MB / 0.5042 GB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.5637, allocations: 1.844 MB / 0.506 GB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.5662, allocations: 1.761 MB / 0.5078 GB, free: 11.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5662, allocations: 8 kB / 0.5078 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.006814/0.573, allocations: 4.547 MB / 0.5122 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.5734, allocations: 0.789 MB / 0.513 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5734, allocations: 16 kB / 0.513 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.5739, allocations: 316.1 kB / 0.5133 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.5767, allocations: 0.7372 MB / 0.514 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.5825, allocations: 8.279 MB / 0.5221 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.5861, allocations: 290.2 kB / 0.5224 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004826/0.5866, allocations: 144 kB / 0.5225 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5866, allocations: 4 kB / 0.5225 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006509/0.5931, allocations: 4.192 MB / 0.5266 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.5932, allocations: 16.09 kB / 0.5266 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.5937, allocations: 304.3 kB / 0.5269 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.5964, allocations: 0.7411 MB / 0.5276 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/0.6024, allocations: 8.264 MB / 0.5357 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/0.6059, allocations: 279.7 kB / 0.536 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000571/0.6065, allocations: 147.9 kB / 0.5361 GB, free: 12.73 MB / 414.1 MB Warning: Assuming fixed start value for the following 11 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real j1.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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))))))))))))))))))))))))))))))))))) start = reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4way3pos.j3.volumeClosed.port[4].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, 0.0)))))))))))))))))))))))))))))))))))))))) start = valve4way3pos.checkT2B.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [5] valve4way3pos.reliefA2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve4way3pos.reliefB2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real 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: 64 * Number of states: 0 () * Number of discrete variables: 27 (valve4way3pos.A2T.data.zetaLaminarKnown,valve4way3pos.P2B.data.zetaLaminarKnown,valve4way3pos.B2T.data.zetaLaminarKnown,valve4way3pos.P2A.data.zetaLaminarKnown,valve4way3pos.reliefA2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.reliefB2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2A.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2B.variableRestriction.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,PCLSPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startForward,$PRE.PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,$PRE.PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * 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.003502/0.61, allocations: 1.659 MB / 0.5377 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/0.6112, allocations: 446.4 kB / 0.5382 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/0.6198, allocations: 4.651 MB / 0.5427 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/0.6198, allocations: 36 kB / 0.5427 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.6199, allocations: 7.984 kB / 0.5428 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.529e-05/0.6199, allocations: 15.94 kB / 0.5428 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.6367, allocations: 9.794 MB / 0.5523 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.6368, allocations: 4 kB / 0.5523 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/0.6394, allocations: 0.6634 MB / 0.553 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.6399, allocations: 268.1 kB / 0.5532 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.6402, allocations: 104 kB / 0.5533 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/0.6456, allocations: 7.858 MB / 0.561 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6457, allocations: 11.92 kB / 0.561 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.6581, allocations: 6.258 MB / 0.5671 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003477/0.6616, allocations: 0.9598 MB / 0.5681 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/0.6634, allocations: 92.11 kB / 0.5682 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/0.666, allocations: 211.7 kB / 0.5684 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007637/0.6668, allocations: 362.1 kB / 0.5687 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/0.6671, allocations: 131.9 kB / 0.5688 GB, free: 9.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00477/0.6718, allocations: 2.726 MB / 0.5715 GB, free: 6.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6719, allocations: 3.938 kB / 0.5715 GB, free: 6.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005944/0.6778, allocations: 1.668 MB / 0.5731 GB, free: 5.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 20 (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,PCLSPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,valve4way3pos.reliefB2T.valvePosition,valve4way3pos.reliefA2T.valvePosition,valve4way3pos.pressLS.port.p,valve4way3pos.j2.volumeClosed.port[4].p,valve4way3pos.j3.volumeClosed.port[4].p,valve4way3pos.dynamicResponse.y,valve4way3pos.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 10 * 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.001321/0.6791, allocations: 0.573 MB / 0.5737 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01066/0.6898, allocations: 7.477 MB / 0.581 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.6898, allocations: 0 / 0.581 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.6938, allocations: 3.016 MB / 0.5839 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006159/0.7, allocations: 1.275 MB / 0.5852 GB, free: 8.52 MB / 462.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.203/0.903, allocations: 10.68 MB / 0.5956 GB, free: 160.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.9058, allocations: 2.608 MB / 0.5982 GB, free: 159.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.9074, allocations: 388.5 kB / 0.5985 GB, free: 159.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9074, allocations: 1.125 kB / 0.5985 GB, free: 159.5 MB / 462.1 MB Notification: Performance of Templates: time 0.2781/1.186, allocations: 175.8 MB / 0.7702 GB, free: 158.3 MB / 462.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.makefile make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.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.PressureCompensatedLoadSensingCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensingCalcHelperMain.o] Error 1