Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.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.DevelopmentTests.DoubleActingCylinderTestSimple1,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DoubleActingCylinderTestSimple1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DoubleActingCylinderTestSimple1",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.0008712/0.0008751, allocations: 87.11 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.001149/0.00115, 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.201/2.201, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05104/0.05104, allocations: 11.85 MB / 282.2 MB, free: 9.488 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.0006038/0.0006039, allocations: 16 kB / 343 MB, free: 22.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1263, allocations: 50.22 MB / 393.2 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1): time 0.01485/0.1413, allocations: 14.25 MB / 407.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.1535, allocations: 5.996 MB / 413.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.1562, allocations: 47.75 kB / 413.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.1578, allocations: 0.5827 MB / 414.1 MB, free: 15.19 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/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/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. Notification: Performance of NFTyping.typeBindings: time 0.004757/0.1626, allocations: 1.463 MB / 415.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.1668, allocations: 1.34 MB / 416.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006386/0.1732, allocations: 3.926 MB / 420.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.1749, allocations: 0.7938 MB / 421.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.179, allocations: 1.109 MB / 422.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004373/0.1834, allocations: 1.361 MB / 424.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006068/0.184, allocations: 120 kB / 424.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.1859, allocations: 487.4 kB / 424.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005649/0.1865, allocations: 0.5719 MB / 425.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008965/0.1874, allocations: 0.5979 MB / 425.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.1906, allocations: 3.25 MB / 429.1 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1906, allocations: 0 / 429.1 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1906, allocations: 3.984 kB / 429.1 MB, free: 112 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.348e-05/0.1907, allocations: 0 / 429.1 MB, free: 112 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 499 * Number of variables: 499 Notification: Performance of Generate backend data structure: time 0.2752/0.4659, allocations: 2.809 MB / 431.9 MB, free: 38.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.466, allocations: 9.125 kB / 431.9 MB, free: 38.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/0.4671, allocations: 285.8 kB / 432.2 MB, free: 38.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.468, allocations: 318.5 kB / 432.5 MB, free: 37.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.4715, allocations: 1.643 MB / 434.2 MB, free: 37.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4718, allocations: 269.4 kB / 434.4 MB, free: 37.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.4721, allocations: 207.4 kB / 434.6 MB, free: 37.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004516/0.4766, allocations: 2.016 MB / 436.7 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.4767, allocations: 3.234 kB / 436.7 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.4769, allocations: 84.38 kB / 436.7 MB, free: 36.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.4769, allocations: 49.03 kB / 436.8 MB, free: 36.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.481, allocations: 2.003 MB / 438.8 MB, free: 35.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.4977, allocations: 12 MB / 450.8 MB, free: 25.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.5008, allocations: 1.786 MB / 452.6 MB, free: 24.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.5027, allocations: 1.044 MB / 453.6 MB, free: 23.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.5031, allocations: 454.3 kB / 454.1 MB, free: 23.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001902/0.505, allocations: 1.094 MB / 455.2 MB, free: 22.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.236e-06/0.505, allocations: 0 / 455.2 MB, free: 22.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=227): time 0.02136/0.5264, allocations: 9.474 MB / 464.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.5265, allocations: 316.7 kB / 465 MB, free: 14.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.5289, allocations: 2.119 MB / 467.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.5292, allocations: 65.7 kB / 467.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.5298, allocations: 1.024 MB / 468.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000569/0.5304, allocations: 0.7574 MB / 468.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.5305, allocations: 40 kB / 469 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5306, allocations: 390.2 kB / 469.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.5318, allocations: 0.746 MB / 470.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5331, allocations: 1.068 MB / 471.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5345, allocations: 1.126 MB / 472.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5345, allocations: 0 / 472.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.00428/0.5388, allocations: 2.695 MB / 475 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.5389, allocations: 229.5 kB / 475.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5389, allocations: 12.06 kB / 475.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.5395, allocations: 232.1 kB / 475.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.5411, allocations: 479.3 kB / 475.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.5471, allocations: 7.775 MB / 483.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.5495, allocations: 168.1 kB / 483.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5497, allocations: 87.95 kB / 483.9 MB, free: 10.58 MB / 334.1 MB Warning: Assuming fixed start value for the following 9 variables: lineA.wallFriction_b.port_a.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, 0.0))))))) start = lineA.wallFriction_a.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real position.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "If exact=false, Angular velocity of flange with respect to support else dummy" type: Real reliefValve.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.damper.s_rel:VARIABLE(start = 0.0 unit = "m" fixed = true nominal = doubleActingCylinder.damper.s_nominal stateSelect=StateSelect.prefer ) "Relative distance (= flange_b.s - flange_a.s)" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (reliefValve.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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 247 * 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: 5 {(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001936/0.5516, allocations: 0.9135 MB / 484.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/0.5521, allocations: 248.9 kB / 485.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.5574, allocations: 2.98 MB / 488.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.5574, allocations: 28 kB / 488.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5574, allocations: 4 kB / 488.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.5575, allocations: 15.95 kB / 488.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5681, allocations: 6.202 MB / 494.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5681, allocations: 4 kB / 494.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.57, allocations: 443.4 kB / 494.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005869/0.5706, allocations: 212.3 kB / 495 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.5708, allocations: 67.97 kB / 495 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.5761, allocations: 7.356 MB / 0.4906 GB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.5761, allocations: 11.89 kB / 0.4906 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.5826, allocations: 3.979 MB / 0.4945 GB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.5839, allocations: 0.5876 MB / 0.4951 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.5843, allocations: 56 kB / 0.4951 GB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5854, allocations: 115.9 kB / 0.4952 GB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.5857, allocations: 193.6 kB / 0.4954 GB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.5859, allocations: 86.7 kB / 0.4955 GB, free: 1.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.588, allocations: 1.474 MB / 0.497 GB, free: 388 kB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.588, allocations: 0 / 0.497 GB, free: 388 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002326/0.5903, allocations: 0.6796 MB / 0.4976 GB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 17 (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,reliefValve.valvePosition,position.phi,position.w,lineA.port_a.p,lineA.port_b.p,lineA.wallFriction_b.port_a.p,lineB.port_b.p,lineB.wallFriction_b.port_a.p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 233 * 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: 5 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007542/0.5978, allocations: 4.998 MB / 0.5025 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004631/0.6025, allocations: 3.097 MB / 0.5055 GB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.6025, allocations: 4 kB / 0.5055 GB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.6053, allocations: 2.243 MB / 0.5077 GB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.6089, allocations: 0.741 MB / 0.5084 GB, free: 4.195 MB / 366.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.03559/0.6446, allocations: 17.58 MB / 0.5256 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.646, allocations: 1.772 MB / 0.5273 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002055/0.6481, allocations: 455.9 kB / 0.5278 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.6496, allocations: 1.089 MB / 0.5288 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6496, allocations: 0 / 0.5288 GB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/0.9701, allocations: 62.48 MB / 0.5898 GB, free: 141.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.9703, allocations: 259.4 kB / 0.5901 GB, free: 141.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.276/5.246, allocations: 3.281 kB / 0.5901 GB, free: 141.5 MB / 446.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_DoubleActingCylinderTestSimple1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_DoubleActingCylinderTestSimple1.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.pipe 2>&1) Environment - environmentSimulation: