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.001225/0.001225, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001409/0.001409, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05393/0.05393, allocations: 11.85 MB / 282.2 MB, free: 9.473 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005799/0.0005801, allocations: 26.72 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 50.21 MB / 393.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.01892/0.1197, allocations: 19.22 MB / 412.4 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1352, allocations: 8.053 MB / 420.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004665/0.1399, allocations: 75.69 kB / 420.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.1428, allocations: 0.9246 MB / 421.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007773/0.1506, allocations: 2.625 MB / 424.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005619/0.1563, allocations: 1.849 MB / 425.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2438/0.4, allocations: 4.527 MB / 430.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.4028, allocations: 1.556 MB / 432 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.4079, allocations: 1.894 MB / 433.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.4133, allocations: 2.187 MB / 436.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007672/0.4141, allocations: 199.7 kB / 436.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.4163, allocations: 400.4 kB / 436.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.4175, allocations: 0.9627 MB / 437.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.4191, allocations: 1.038 MB / 438.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.4254, allocations: 5.783 MB / 444.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4254, allocations: 0 / 444.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4254, allocations: 0 / 444.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001805/0.4256, allocations: 5.062 kB / 444.5 MB, free: 10.26 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.009632/0.4353, allocations: 4.642 MB / 449.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4353, allocations: 13.88 kB / 449.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008041/0.4361, allocations: 480.3 kB / 449.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.4374, allocations: 0.5605 MB / 450.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.4422, allocations: 2.82 MB / 453 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.4424, allocations: 388.4 kB / 453.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.4429, allocations: 360.8 kB / 453.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.4515, allocations: 4.07 MB / 457.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.4517, allocations: 17.55 kB / 457.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.4521, allocations: 140.2 kB / 457.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.383e-05/0.4523, allocations: 84.06 kB / 458 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.463, allocations: 3.772 MB / 461.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/0.5041, allocations: 20.02 MB / 481.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/0.5104, allocations: 3.885 MB / 485.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.5107, allocations: 166.2 kB / 485.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00311/0.5139, allocations: 1.725 MB / 487.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=308): time 4.669e-06/0.5139, allocations: 0 / 487.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=335): time 0.02991/0.5438, allocations: 13.41 MB / 0.4893 GB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.544, allocations: 402.5 kB / 0.4896 GB, free: 14.21 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.006544/0.5506, allocations: 3.993 MB / 0.4935 GB, free: 10.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008515/0.5514, allocations: 96.09 kB / 0.4936 GB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.5533, allocations: 1.917 MB / 0.4955 GB, free: 8.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/0.5549, allocations: 1.121 MB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5551, allocations: 68 kB / 0.4967 GB, free: 6.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.5554, allocations: 437 kB / 0.4971 GB, free: 6.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.558, allocations: 1.369 MB / 0.4984 GB, free: 5.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/0.5607, allocations: 1.844 MB / 0.5002 GB, free: 3.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.5634, allocations: 1.754 MB / 0.5019 GB, free: 1.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.5634, allocations: 4 kB / 0.5019 GB, free: 1.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.007887/0.5713, allocations: 4.553 MB / 0.5064 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002812/0.5741, allocations: 6.752 MB / 0.513 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.5742, allocations: 12 kB / 0.513 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.5749, allocations: 310.7 kB / 0.5133 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.5788, allocations: 0.7333 MB / 0.514 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/0.5862, allocations: 8.339 MB / 0.5221 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.5903, allocations: 283.7 kB / 0.5224 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003612/0.5907, allocations: 147.9 kB / 0.5226 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5907, allocations: 4 kB / 0.5226 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006969/0.5977, allocations: 4.184 MB / 0.5266 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.5977, allocations: 19.95 kB / 0.5267 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.5983, allocations: 310.5 kB / 0.527 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.6013, allocations: 0.7332 MB / 0.5277 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.6079, allocations: 8.328 MB / 0.5358 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/0.6126, allocations: 283.7 kB / 0.5361 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006367/0.6132, allocations: 143.9 kB / 0.5362 GB, free: 11.91 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.003725/0.617, allocations: 1.646 MB / 0.5378 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.6182, allocations: 442.5 kB / 0.5382 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/0.6272, allocations: 4.672 MB / 0.5428 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.6273, allocations: 36 kB / 0.5428 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6273, allocations: 4 kB / 0.5428 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.6273, allocations: 19.92 kB / 0.5429 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.6466, allocations: 9.654 MB / 0.5523 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6466, allocations: 8 kB / 0.5523 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/0.6497, allocations: 0.6598 MB / 0.5529 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006063/0.6504, allocations: 262.4 kB / 0.5532 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000398/0.6508, allocations: 107.9 kB / 0.5533 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/0.658, allocations: 7.92 MB / 0.561 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6581, allocations: 4 kB / 0.561 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.6709, allocations: 6.802 MB / 0.5677 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/0.6741, allocations: 0.9677 MB / 0.5686 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/0.6754, allocations: 87.98 kB / 0.5687 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/0.6781, allocations: 203.8 kB / 0.5689 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007372/0.6788, allocations: 366.1 kB / 0.5692 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/0.6791, allocations: 131.9 kB / 0.5694 GB, free: 8.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005178/0.6843, allocations: 2.722 MB / 0.572 GB, free: 5.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6843, allocations: 0 / 0.572 GB, free: 5.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00717/0.6915, allocations: 1.672 MB / 0.5737 GB, free: 3.883 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.01246/0.7039, allocations: 8.827 MB / 0.5823 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.7162, allocations: 7.485 MB / 0.5896 GB, free: 2.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.7163, allocations: 4 kB / 0.5896 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1896/0.9059, allocations: 3.056 MB / 0.5926 GB, free: 163.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/0.9134, allocations: 1.211 MB / 0.5938 GB, free: 163.8 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.02645/0.9398, allocations: 26.13 MB / 0.6193 GB, free: 144 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/0.9427, allocations: 2.725 MB / 0.6219 GB, free: 143.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005199/0.9479, allocations: 0.941 MB / 0.6229 GB, free: 142.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00301/0.9509, allocations: 1.988 MB / 0.6248 GB, free: 142.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.874e-06/0.951, allocations: 0 / 0.6248 GB, free: 142.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/1.107, allocations: 104.6 MB / 0.7269 GB, free: 46.93 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.107, allocations: 259.6 kB / 0.7272 GB, free: 46.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.003/6.11, allocations: 3.938 kB / 0.7272 GB, free: 46.57 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: