Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.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: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00122/0.00122, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05113/0.05113, allocations: 11.85 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.0005916/0.0005916, allocations: 16 kB / 343 MB, free: 22.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 50.21 MB / 393.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensated): time 0.02121/0.1419, allocations: 18.97 MB / 412.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.1579, allocations: 6.871 MB / 419.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/0.163, allocations: 67.69 kB / 419.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.1654, allocations: 0.804 MB / 419.9 MB, free: 9.305 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. [/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.006866/0.1723, allocations: 1.94 MB / 421.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.1776, allocations: 1.543 MB / 423.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009633/0.1872, allocations: 5.598 MB / 429 MB, free: 212 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2889/0.4762, allocations: 1.32 MB / 430.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00434/0.4805, allocations: 1.61 MB / 432 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005257/0.4858, allocations: 1.948 MB / 433.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001632/0.4875, allocations: 165.7 kB / 434.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.4905, allocations: 374.7 kB / 434.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.4922, allocations: 0.8191 MB / 435.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.4949, allocations: 0.8562 MB / 436.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009518/0.5044, allocations: 4.751 MB / 440.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.5045, allocations: 1.25 kB / 440.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5045, allocations: 0 / 440.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002841/0.5048, allocations: 0 / 440.9 MB, free: 11.82 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: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01332/0.5181, allocations: 3.889 MB / 444.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5182, allocations: 9.219 kB / 444.8 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002946/0.5211, allocations: 403.1 kB / 445.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.5259, allocations: 481.4 kB / 445.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/0.5334, allocations: 2.347 MB / 448 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.5338, allocations: 337.8 kB / 448.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/0.5346, allocations: 297.8 kB / 448.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/0.5425, allocations: 3.354 MB / 451.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.861e-05/0.5426, allocations: 7.25 kB / 452 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/0.5429, allocations: 118.3 kB / 452.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.543, allocations: 71.97 kB / 452.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005423/0.5484, allocations: 2.989 MB / 455.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.5701, allocations: 16.43 MB / 471.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/0.5749, allocations: 3.162 MB / 474.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.5771, allocations: 1.213 MB / 475.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.5773, allocations: 142.2 kB / 476.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.5798, allocations: 1.398 MB / 477.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=250): time 5.35e-06/0.5798, allocations: 3.984 kB / 477.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=277): time 0.02309/0.6029, allocations: 11.14 MB / 488.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.6031, allocations: 346.6 kB / 489 MB, free: 10.67 MB / 350.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 PCPump.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.004911/0.608, allocations: 3.277 MB / 492.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004267/0.6084, allocations: 77.7 kB / 492.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.6099, allocations: 1.592 MB / 493.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009315/0.6109, allocations: 0.9348 MB / 494.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.611, allocations: 58.34 kB / 494.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.6112, allocations: 415.7 kB / 495.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.6132, allocations: 1.105 MB / 496.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.6154, allocations: 1.526 MB / 497.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.6176, allocations: 1.404 MB / 499.3 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.6177, allocations: 4 kB / 499.3 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.006504/0.6242, allocations: 3.79 MB / 0.4913 GB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000506/0.6247, allocations: 0.6913 MB / 0.492 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.6247, allocations: 18.52 kB / 0.492 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.6253, allocations: 288.1 kB / 0.4923 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.6277, allocations: 0.6107 MB / 0.4929 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.6345, allocations: 8.188 MB / 0.5009 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.6386, allocations: 239.8 kB / 0.5011 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/0.6392, allocations: 116 kB / 0.5012 GB, free: 1.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6393, allocations: 4 kB / 0.5012 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007417/0.6467, allocations: 3.487 MB / 0.5046 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.765e-05/0.6468, allocations: 12 kB / 0.5047 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/0.6473, allocations: 298.6 kB / 0.5049 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.6499, allocations: 0.5971 MB / 0.5055 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/0.6563, allocations: 8.193 MB / 0.5135 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/0.6598, allocations: 231.7 kB / 0.5137 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/0.6604, allocations: 116 kB / 0.5139 GB, free: 3.613 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 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] v4_3CC.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 = v4_3CC.P2B.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: 58 * Number of states: 0 () * Number of discrete variables: 23 (v4_3CC.A2T.data.zetaLaminarKnown,v4_3CC.P2B.data.zetaLaminarKnown,v4_3CC.B2T.data.zetaLaminarKnown,v4_3CC.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,PCPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startForward,$PRE.PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,$PRE.PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 325 * 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.00334/0.6638, allocations: 1.393 MB / 0.5152 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.6649, allocations: 363.5 kB / 0.5156 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007674/0.6726, allocations: 3.774 MB / 0.5192 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.6726, allocations: 28 kB / 0.5193 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.6726, allocations: 8 kB / 0.5193 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-05/0.6727, allocations: 19.94 kB / 0.5193 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.6908, allocations: 8.041 MB / 0.5271 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.6909, allocations: 8.094 kB / 0.5272 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/0.6934, allocations: 0.5215 MB / 0.5277 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.6941, allocations: 252.1 kB / 0.5279 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005435/0.6946, allocations: 85.83 kB / 0.528 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006483/0.7011, allocations: 7.764 MB / 0.5356 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.7012, allocations: 7.938 kB / 0.5356 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.7112, allocations: 5.097 MB / 0.5406 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/0.7139, allocations: 0.7853 MB / 0.5413 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/0.7154, allocations: 75.98 kB / 0.5414 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/0.7182, allocations: 175.7 kB / 0.5416 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007156/0.7189, allocations: 321.7 kB / 0.5419 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003104/0.7193, allocations: 107.9 kB / 0.542 GB, free: 5.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004779/0.724, allocations: 2.24 MB / 0.5442 GB, free: 3.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7241, allocations: 0 / 0.5442 GB, free: 3.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006721/0.7308, allocations: 1.418 MB / 0.5455 GB, free: 1.809 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 17 (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,PCPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,v4_3CC.j2.volumeClosed.port[2].p,v4_3CC.j3.volumeClosed.port[2].p,v4_3CC.dynamicResponse.y,v4_3CC.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 277 * 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.01003/0.7408, allocations: 6.1 MB / 0.5515 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.7516, allocations: 6.276 MB / 0.5576 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.7517, allocations: 1.406 kB / 0.5576 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.7559, allocations: 2.576 MB / 0.5601 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009722/0.7657, allocations: 1.064 MB / 0.5612 GB, free: 1.137 MB / 430.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.06177/0.8275, allocations: 26.57 MB / 0.5871 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/0.8309, allocations: 2.303 MB / 0.5894 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004143/0.8351, allocations: 0.7453 MB / 0.5901 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2168/1.052, allocations: 1.61 MB / 0.5917 GB, free: 161.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/1.052, allocations: 1.406 kB / 0.5917 GB, free: 161.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.185, allocations: 88.64 MB / 0.6782 GB, free: 92.48 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.185, allocations: 259.9 kB / 0.6785 GB, free: 92.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.933/6.118, allocations: 2.078 kB / 0.6785 GB, free: 92.13 MB / 462.1 MB (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated.fmu > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe 2>&1) Environment - environmentSimulation: