Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.Circuits.OpenCenter,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_OpenCenter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.OpenCenter,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_OpenCenter",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.000886/0.0008858, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009063/0.0009063, allocations: 168.7 kB / 15.95 MB, free: 200 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.099/2.099, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04958/0.04958, allocations: 11.85 MB / 282.2 MB, free: 9.477 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.0007574/0.0007574, allocations: 23.97 kB / 343 MB, free: 22.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1198, allocations: 50.21 MB / 393.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.OpenCenter): time 0.01628/0.1361, allocations: 17.02 MB / 410.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1505, allocations: 6.325 MB / 416.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/0.1556, allocations: 59.75 kB / 416.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.1586, allocations: 0.781 MB / 417.4 MB, free: 11.85 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007386/0.166, allocations: 1.777 MB / 419.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005122/0.1712, allocations: 1.418 MB / 420.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008728/0.1799, allocations: 5.005 MB / 425.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.1821, allocations: 1.161 MB / 426.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.1868, allocations: 1.474 MB / 428.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2883/0.4751, allocations: 1.786 MB / 430.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.477, allocations: 152.8 kB / 430.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.4802, allocations: 358.6 kB / 430.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.4823, allocations: 0.7656 MB / 431.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.4854, allocations: 0.7784 MB / 432.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.4959, allocations: 4.347 MB / 436.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.496, allocations: 5.312 kB / 436.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.496, allocations: 0 / 436.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003383/0.4964, allocations: 4.359 kB / 436.4 MB, free: 12.61 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 668 * Number of variables: 668 Notification: Performance of Generate backend data structure: time 0.01295/0.5093, allocations: 3.581 MB / 440 MB, free: 10.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.5094, allocations: 13.62 kB / 440 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002405/0.5118, allocations: 369.4 kB / 440.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.5149, allocations: 434.2 kB / 440.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006942/0.5218, allocations: 2.132 MB / 443 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004906/0.5224, allocations: 321.2 kB / 443.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.5235, allocations: 274.4 kB / 443.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007808/0.5313, allocations: 3.043 MB / 446.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/0.5314, allocations: 5.938 kB / 446.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.5316, allocations: 103.1 kB / 446.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/0.5317, allocations: 67.73 kB / 446.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.5377, allocations: 2.754 MB / 449.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/0.5588, allocations: 15.83 MB / 465.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.5629, allocations: 3.015 MB / 468.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.5649, allocations: 1.165 MB / 469.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.5652, allocations: 145.7 kB / 469.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.5674, allocations: 1.354 MB / 471 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=240): time 4.027e-06/0.5674, allocations: 0 / 471 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=267): time 0.02413/0.5915, allocations: 10.74 MB / 481.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.5917, allocations: 320.8 kB / 482.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.5973, allocations: 3.025 MB / 485.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000922/0.5983, allocations: 81.69 kB / 485.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.6001, allocations: 1.427 MB / 486.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/0.6017, allocations: 0.8991 MB / 487.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.6019, allocations: 52 kB / 487.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.6021, allocations: 403.3 kB / 488 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.6042, allocations: 1.03 MB / 489 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.6063, allocations: 1.371 MB / 490.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.6084, allocations: 1.321 MB / 491.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6084, allocations: 4 kB / 491.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006257/0.6147, allocations: 3.567 MB / 495.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6148, allocations: 225.6 kB / 495.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.6149, allocations: 12 kB / 495.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.6154, allocations: 288.2 kB / 495.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.6176, allocations: 0.5636 MB / 496.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.6241, allocations: 8.212 MB / 0.4927 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/0.6281, allocations: 219.7 kB / 0.4929 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006431/0.6288, allocations: 120 kB / 0.493 GB, free: 9.391 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real constantDisplacementPump.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))))))))))))))))) start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (valve4_3posOC.A2T.data.zetaLaminarKnown,valve4_3posOC.P2B.data.zetaLaminarKnown,valve4_3posOC.B2T.data.zetaLaminarKnown,valve4_3posOC.P2A.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,constantDisplacementPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003623/0.6324, allocations: 1.307 MB / 0.4943 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.6335, allocations: 331.9 kB / 0.4946 GB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/0.6404, allocations: 3.634 MB / 0.4982 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.6405, allocations: 31.95 kB / 0.4982 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6405, allocations: 8 kB / 0.4982 GB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/0.6405, allocations: 15.94 kB / 0.4982 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6542, allocations: 7.721 MB / 0.5058 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.6542, allocations: 4 kB / 0.5058 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/0.6564, allocations: 0.5091 MB / 0.5063 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.6568, allocations: 250.1 kB / 0.5065 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.657, allocations: 87.95 kB / 0.5066 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/0.6629, allocations: 7.781 MB / 0.5142 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6629, allocations: 11.03 kB / 0.5142 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008023/0.6709, allocations: 4.911 MB / 0.519 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.673, allocations: 0.7504 MB / 0.5197 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/0.6736, allocations: 71.98 kB / 0.5198 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.6752, allocations: 167.8 kB / 0.52 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/0.6758, allocations: 318.2 kB / 0.5203 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.676, allocations: 108 kB / 0.5204 GB, free: 12.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00337/0.6794, allocations: 2.083 MB / 0.5224 GB, free: 9.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6794, allocations: 0 / 0.5224 GB, free: 9.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003888/0.6833, allocations: 0.7773 MB / 0.5232 GB, free: 9.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 16 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,circuitTank.volumeOpen.m,valve4_3posOC.j2.volumeClosed.port[2].p,valve4_3posOC.j3.volumeClosed.port[2].p,valve4_3posOC.dynamicResponse.y,valve4_3posOC.dynamicResponse.yd,constantDisplacementPump.j2.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009317/0.6926, allocations: 5.909 MB / 0.5289 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005633/0.6983, allocations: 3.54 MB / 0.5324 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.6983, allocations: 1.812 kB / 0.5324 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.7019, allocations: 2.527 MB / 0.5349 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/0.7072, allocations: 0.947 MB / 0.5358 GB, free: 11.92 MB / 414.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.05105/0.7583, allocations: 24.2 MB / 0.5594 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.7604, allocations: 2.164 MB / 0.5615 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002949/0.7633, allocations: 0.5595 MB / 0.5621 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/0.7658, allocations: 1.456 MB / 0.5635 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7658, allocations: 0 / 0.5635 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.125, allocations: 79.4 MB / 0.641 GB, free: 131.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.126, allocations: 237.2 kB / 0.6413 GB, free: 131 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.769/5.895, allocations: 0 / 0.6413 GB, free: 131 MB / 462.1 MB (rm -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_Circuits_OpenCenter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_Circuits_OpenCenter.fmu > OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe 2>&1) Environment - environmentSimulation: