Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.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.DirectionalValveTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTestSimple",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.0009775/0.0009776, allocations: 90.91 kB / 15.06 MB, free: 1.094 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.0009354/0.0009355, allocations: 172.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 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06083/0.06083, allocations: 11.85 MB / 282.2 MB, free: 9.48 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005617/0.0005618, allocations: 20 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08429/0.08486, allocations: 50.21 MB / 393.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.01029/0.0952, allocations: 11.01 MB / 404.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.107, allocations: 4.714 MB / 409 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.1095, allocations: 31.88 kB / 409 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.1111, allocations: 0.5402 MB / 409.5 MB, free: 3.77 MB / 302.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/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.004408/0.1155, allocations: 1.148 MB / 410.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.1195, allocations: 1.071 MB / 411.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005139/0.1247, allocations: 3.047 MB / 414.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.1261, allocations: 0.625 MB / 415.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.1281, allocations: 0.9063 MB / 416.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.1302, allocations: 1.089 MB / 417.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.1304, allocations: 92 kB / 417.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000929/0.1314, allocations: 279.7 kB / 417.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006078/0.132, allocations: 485.9 kB / 418.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.1327, allocations: 0.4965 MB / 418.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.1362, allocations: 2.692 MB / 421.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1362, allocations: 7.938 kB / 421.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1362, allocations: 4 kB / 421.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.491e-05/0.1363, allocations: 0 / 421.5 MB, free: 7.793 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005427/0.1417, allocations: 2.429 MB / 423.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1418, allocations: 11.97 kB / 423.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004275/0.1422, allocations: 236 kB / 424.1 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.1428, allocations: 276.8 kB / 424.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.1453, allocations: 1.431 MB / 425.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.1456, allocations: 237.9 kB / 426.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.1459, allocations: 156 kB / 426.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.1498, allocations: 1.626 MB / 427.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.1499, allocations: 7.906 kB / 427.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.15, allocations: 68 kB / 427.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.1501, allocations: 40 kB / 428 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2004/0.3505, allocations: 1.658 MB / 429.6 MB, free: 34.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.3629, allocations: 9.068 MB / 438.7 MB, free: 29.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.3659, allocations: 1.784 MB / 440.5 MB, free: 28.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3674, allocations: 0.7661 MB / 441.2 MB, free: 28.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.3676, allocations: 122.8 kB / 441.4 MB, free: 28.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.3692, allocations: 0.8363 MB / 442.2 MB, free: 28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=165): time 5.079e-06/0.3692, allocations: 0 / 442.2 MB, free: 28 MB / 318.1 MB Notification: Performance of matching and sorting (n=187): time 0.01366/0.3829, allocations: 6.832 MB / 449 MB, free: 24.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.383, allocations: 283.6 kB / 449.3 MB, free: 23.85 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/Translational.mo:2342:7-2342:69:writable] Warning: Parameter slidingMass.m 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.002891/0.3859, allocations: 2.029 MB / 451.3 MB, free: 23.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3861, allocations: 67.36 kB / 451.4 MB, free: 23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.3867, allocations: 0.8866 MB / 452.3 MB, free: 22.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.3871, allocations: 0.6236 MB / 452.9 MB, free: 21.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.3872, allocations: 35.19 kB / 452.9 MB, free: 21.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3873, allocations: 373.4 kB / 453.3 MB, free: 21.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3884, allocations: 0.5944 MB / 453.9 MB, free: 20.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3896, allocations: 0.8697 MB / 454.8 MB, free: 20.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3907, allocations: 0.9389 MB / 455.7 MB, free: 19.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3908, allocations: 3.969 kB / 455.7 MB, free: 19.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.003195/0.394, allocations: 2.11 MB / 457.8 MB, free: 18.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/0.3941, allocations: 226.2 kB / 458 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3941, allocations: 11.84 kB / 458.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.3941, allocations: 11.59 kB / 458.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.3957, allocations: 421.2 kB / 458.5 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.3957, allocations: 17.92 kB / 458.5 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.397, allocations: 110 kB / 458.6 MB, free: 18.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.3971, allocations: 77.12 kB / 458.7 MB, free: 18.13 MB / 318.1 MB Warning: Assuming fixed start value for the following 6 variables: 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, 0.0))))))))))))))) start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] 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: 26 * Number of states: 0 () * Number of discrete variables: 12 (throttleValve.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,$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 (228): * Single equations (assignments): 220 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.3983, allocations: 0.8537 MB / 459.5 MB, free: 17.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.3986, allocations: 232.5 kB / 459.8 MB, free: 17.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.4022, allocations: 2.294 MB / 462 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4023, allocations: 20 kB / 462.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4023, allocations: 0 / 462.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.4023, allocations: 11.92 kB / 462.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.4091, allocations: 5.329 MB / 467.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4091, allocations: 4 kB / 467.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.4106, allocations: 379.5 kB / 467.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.4108, allocations: 37.16 kB / 467.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4109, allocations: 55.98 kB / 467.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/0.4117, allocations: 1.339 MB / 469.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.4117, allocations: 15.88 kB / 469.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.4161, allocations: 3.18 MB / 472.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.4172, allocations: 0.5253 MB / 472.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.4175, allocations: 47.95 kB / 473 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/0.4184, allocations: 87.8 kB / 473.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.4186, allocations: 145.6 kB / 473.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.4188, allocations: 75.97 kB / 473.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.4206, allocations: 1.416 MB / 474.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4207, allocations: 0 / 474.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001495/0.4222, allocations: 0.4993 MB / 475.2 MB, free: 1.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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,throttleValve.port_b.p,j1.volumeClosed.port[2].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 (207): * Single equations (assignments): 198 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00594/0.4281, allocations: 4.138 MB / 479.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.4314, allocations: 2.056 MB / 481.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4314, allocations: 6.047 kB / 481.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.4334, allocations: 1.51 MB / 482.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/0.4366, allocations: 0.6584 MB / 483.6 MB, free: 9.234 MB / 334.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.02999/0.4666, allocations: 14.68 MB / 498.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.468, allocations: 1.577 MB / 499.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00204/0.4701, allocations: 405 kB / 0.4885 GB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.4715, allocations: 0.9171 MB / 0.4894 GB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4715, allocations: 0 / 0.4894 GB, free: 6.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/0.6378, allocations: 52.17 MB / 0.5403 GB, free: 2.238 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/0.6381, allocations: 261.9 kB / 0.5406 GB, free: 1.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/4.137, allocations: 4 kB / 0.5406 GB, free: 1.887 MB / 398.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTestSimple_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe 2>&1) Environment - environmentSimulation: