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: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing",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.001001/0.001001, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001223/0.001223, allocations: 168.7 kB / 15.95 MB, free: 204 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.2/2.2, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05185/0.05185, allocations: 11.85 MB / 282.2 MB, free: 9.453 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.0006213/0.0006213, allocations: 18.34 kB / 343 MB, free: 22.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1307, allocations: 50.2 MB / 393.2 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.01982/0.1505, allocations: 21.63 MB / 414.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.1698, allocations: 7.883 MB / 422.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0074/0.1773, allocations: 75.69 kB / 422.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.1813, allocations: 0.9633 MB / 423.8 MB, free: 5.465 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.01018/0.1916, allocations: 2.273 MB / 426.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.1986, allocations: 1.824 MB / 427.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2883/0.487, allocations: 6.64 MB / 434.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.4919, allocations: 1.56 MB / 436.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006324/0.4983, allocations: 1.936 MB / 438 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006952/0.5053, allocations: 2.336 MB / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.5074, allocations: 199.6 kB / 440.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.5116, allocations: 417.9 kB / 441 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.5146, allocations: 0.979 MB / 441.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004336/0.519, allocations: 1.04 MB / 443 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.5294, allocations: 5.884 MB / 448.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5294, allocations: 0 / 448.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5294, allocations: 0 / 448.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003476/0.5298, allocations: 3.781 kB / 448.9 MB, free: 10.02 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.01067/0.5405, allocations: 4.642 MB / 453.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5405, allocations: 9.312 kB / 453.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001336/0.5419, allocations: 479.7 kB / 454 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.5432, allocations: 0.5596 MB / 454.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.5481, allocations: 2.818 MB / 457.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.5485, allocations: 396.6 kB / 457.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.5489, allocations: 361.8 kB / 458.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.5558, allocations: 4.092 MB / 462.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/0.5559, allocations: 11.36 kB / 462.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.5562, allocations: 142.9 kB / 462.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.5563, allocations: 83.66 kB / 462.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.5622, allocations: 3.77 MB / 466.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.59, allocations: 20.02 MB / 486.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.5959, allocations: 3.87 MB / 490.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.5985, allocations: 1.527 MB / 491.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.5988, allocations: 162.7 kB / 491.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002955/0.6018, allocations: 1.733 MB / 493.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=308): time 5.15e-06/0.6018, allocations: 3.938 kB / 493.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=335): time 0.02722/0.629, allocations: 13.4 MB / 0.495 GB, free: 8.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.6293, allocations: 406.4 kB / 0.4954 GB, free: 8.148 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.005758/0.635, allocations: 3.987 MB / 0.4993 GB, free: 4.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006378/0.6357, allocations: 97.69 kB / 0.4994 GB, free: 4.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.6375, allocations: 1.915 MB / 0.5013 GB, free: 2.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.6389, allocations: 1.119 MB / 0.5024 GB, free: 1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.6391, allocations: 71.98 kB / 0.5024 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.6393, allocations: 437 kB / 0.5029 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.6419, allocations: 1.367 MB / 0.5042 GB, free: 15.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.6447, allocations: 1.85 MB / 0.506 GB, free: 13.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.6476, allocations: 1.758 MB / 0.5077 GB, free: 11.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6476, allocations: 4 kB / 0.5077 GB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.008581/0.6562, allocations: 4.551 MB / 0.5122 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.6567, allocations: 0.7946 MB / 0.5129 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.6567, allocations: 16.09 kB / 0.513 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/0.6574, allocations: 312.1 kB / 0.5133 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.6604, allocations: 0.7411 MB / 0.514 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/0.6671, allocations: 8.278 MB / 0.5221 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/0.6708, allocations: 287.6 kB / 0.5223 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/0.6713, allocations: 140 kB / 0.5225 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.557e-06/0.6713, allocations: 8 kB / 0.5225 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007193/0.6785, allocations: 4.192 MB / 0.5266 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.753e-05/0.6786, allocations: 12 kB / 0.5266 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.6792, allocations: 304.2 kB / 0.5269 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/0.6826, allocations: 0.7411 MB / 0.5276 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.6889, allocations: 8.268 MB / 0.5357 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/0.6929, allocations: 283.7 kB / 0.5359 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006283/0.6935, allocations: 144 kB / 0.5361 GB, free: 12.24 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.00392/0.6975, allocations: 1.647 MB / 0.5377 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/0.6989, allocations: 446.4 kB / 0.5381 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/0.7085, allocations: 4.656 MB / 0.5427 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/0.7085, allocations: 36 kB / 0.5427 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7086, allocations: 6.078 kB / 0.5427 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/0.7086, allocations: 23.92 kB / 0.5427 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.729, allocations: 9.79 MB / 0.5523 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.7291, allocations: 4 kB / 0.5523 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/0.732, allocations: 0.6674 MB / 0.5529 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.7325, allocations: 262.2 kB / 0.5532 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/0.7328, allocations: 108 kB / 0.5533 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/0.7389, allocations: 7.861 MB / 0.561 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7389, allocations: 7.938 kB / 0.561 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.7497, allocations: 6.259 MB / 0.5671 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/0.7522, allocations: 0.9559 MB / 0.568 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009587/0.7532, allocations: 92.11 kB / 0.5681 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.7554, allocations: 219.2 kB / 0.5683 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/0.756, allocations: 358.1 kB / 0.5687 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/0.7563, allocations: 131.9 kB / 0.5688 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004404/0.7607, allocations: 2.722 MB / 0.5714 GB, free: 6.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7607, allocations: 0 / 0.5714 GB, free: 6.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007888/0.7686, allocations: 1.676 MB / 0.5731 GB, free: 4.828 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.01469/0.7833, allocations: 7.293 MB / 0.5802 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01343/0.7968, allocations: 7.478 MB / 0.5875 GB, free: 5.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/0.7969, allocations: 4 kB / 0.5875 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004856/0.8017, allocations: 3.064 MB / 0.5905 GB, free: 2.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00864/0.8104, allocations: 1.267 MB / 0.5917 GB, free: 0.9922 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.2977/1.108, allocations: 33.35 MB / 0.6243 GB, free: 145.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/1.111, allocations: 2.648 MB / 0.6269 GB, free: 144.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004663/1.115, allocations: 0.9334 MB / 0.6278 GB, free: 144.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/1.118, allocations: 1.984 MB / 0.6297 GB, free: 142.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/1.118, allocations: 0 / 0.6297 GB, free: 142.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/1.262, allocations: 107 MB / 0.7342 GB, free: 39.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/1.262, allocations: 260.7 kB / 0.7345 GB, free: 38.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.126/6.388, allocations: 3.938 kB / 0.7345 GB, free: 38.84 MB / 462.1 MB (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing.fmu > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe 2>&1) Environment - environmentSimulation: