Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.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.LossyPumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_LossyPumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_LossyPumpTestSimple",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.0007978/0.0007979, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009115/0.0009115, allocations: 172.7 kB / 15.95 MB, free: 208 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.102/2.102, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04955/0.04955, 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.000643/0.000643, allocations: 22.34 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1197, allocations: 50.22 MB / 393.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple): time 0.008976/0.1287, allocations: 8.617 MB / 401.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.1346, allocations: 2.319 MB / 404.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1361, allocations: 27.94 kB / 404.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.1367, allocations: 186.4 kB / 404.4 MB, free: 8.918 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/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. Notification: Performance of NFTyping.typeBindings: time 0.002061/0.1388, allocations: 0.6513 MB / 405 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1399, allocations: 335.5 kB / 405.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.1422, allocations: 2.036 MB / 407.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/0.143, allocations: 0.532 MB / 407.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009017/0.1439, allocations: 0.5758 MB / 408.5 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.1448, allocations: 0.6884 MB / 409.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.1449, allocations: 64 kB / 409.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.1452, allocations: 99.98 kB / 409.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.1455, allocations: 262.9 kB / 409.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.1458, allocations: 305 kB / 409.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1471, allocations: 1.485 MB / 411.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.1471, allocations: 7.922 kB / 411.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1471, allocations: 0 / 411.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1472, allocations: 0 / 411.4 MB, free: 1.855 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.002676/0.1498, allocations: 1.486 MB / 412.9 MB, free: 316 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1499, allocations: 8.031 kB / 412.9 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.1501, allocations: 177.1 kB / 413.1 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.1505, allocations: 162.4 kB / 413.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.1517, allocations: 0.8052 MB / 414 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1518, allocations: 119.9 kB / 414.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1519, allocations: 115.9 kB / 414.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.154, allocations: 1.249 MB / 415.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1541, allocations: 4 kB / 415.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.937e-05/0.1542, allocations: 47.78 kB / 415.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.1542, allocations: 28 kB / 415.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.156, allocations: 0.9728 MB / 416.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/0.1638, allocations: 5.567 MB / 422.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.1652, allocations: 0.8102 MB / 422.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.1658, allocations: 367.3 kB / 423.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.1659, allocations: 12.64 kB / 423.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007541/0.1667, allocations: 485.9 kB / 423.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/0.1667, allocations: 3.938 kB / 423.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.007429/0.1741, allocations: 3.661 MB / 427.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.1742, allocations: 162.9 kB / 427.6 MB, free: 0.75 MB / 318.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 idealPump1.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.2688/0.443, allocations: 0.9595 MB / 428.6 MB, free: 39.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.4434, allocations: 49.2 kB / 428.6 MB, free: 39.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.4441, allocations: 0.5575 MB / 429.2 MB, free: 39.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4444, allocations: 296 kB / 429.5 MB, free: 39.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.4445, allocations: 17.12 kB / 429.5 MB, free: 39.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4446, allocations: 345.1 kB / 429.8 MB, free: 39.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.4455, allocations: 373.3 kB / 430.2 MB, free: 39.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.4464, allocations: 0.5751 MB / 430.8 MB, free: 38.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.4473, allocations: 416.3 kB / 431.2 MB, free: 38.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.4473, allocations: 6.188 kB / 431.2 MB, free: 38.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00277/0.4501, allocations: 1.155 MB / 432.3 MB, free: 38.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.4504, allocations: 332 kB / 432.7 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4504, allocations: 7.719 kB / 432.7 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.4508, allocations: 141 kB / 432.8 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.4517, allocations: 215.2 kB / 433 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.4545, allocations: 3.087 MB / 436.1 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4557, allocations: 106.5 kB / 436.2 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.4558, allocations: 41.06 kB / 436.2 MB, free: 35.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4559, allocations: 3.781 kB / 436.2 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/0.4579, allocations: 1.018 MB / 437.3 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.458, allocations: 7.344 kB / 437.3 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.4583, allocations: 137.9 kB / 437.4 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.4591, allocations: 217.9 kB / 437.6 MB, free: 34.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.4617, allocations: 3.088 MB / 440.7 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.4629, allocations: 99.52 kB / 440.8 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.463, allocations: 41.72 kB / 440.8 MB, free: 31.65 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real accumulator.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real accumulator.liquidChamber.port[1].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, 0.0))))))))))))))))))))))))) start = idealPump1.fluidPower2MechRotVar.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 11 (idealPump1.mechanicalPumpLosses.free,$whenCondition1,$PRE.idealPump1.mechanicalPumpLosses.startForward,idealPump1.mechanicalPumpLosses.startForward,$PRE.idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.locked,$PRE.idealPump1.mechanicalPumpLosses.mode,idealPump1.mechanicalPumpLosses.mode,accumulator.liquidChamber.empty,accumulator.gasChamber.empty) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.464, allocations: 0.501 MB / 441.3 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.4643, allocations: 116.6 kB / 441.5 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.4663, allocations: 0.9632 MB / 442.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.4664, allocations: 12.94 kB / 442.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4664, allocations: 1.562 kB / 442.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4664, allocations: 5.594 kB / 442.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.471, allocations: 2.382 MB / 444.8 MB, free: 29.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4711, allocations: 7.234 kB / 444.8 MB, free: 29.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.4719, allocations: 164.9 kB / 445 MB, free: 29.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003174/0.4722, allocations: 118.6 kB / 445.1 MB, free: 29.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.4723, allocations: 29.58 kB / 445.1 MB, free: 29.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.4748, allocations: 2.922 MB / 448.1 MB, free: 26.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.4749, allocations: 2.906 kB / 448.1 MB, free: 26.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.4782, allocations: 1.485 MB / 449.5 MB, free: 25.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.4791, allocations: 289.6 kB / 449.8 MB, free: 25.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.4793, allocations: 28.88 kB / 449.9 MB, free: 25.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.48, allocations: 90.22 kB / 449.9 MB, free: 25.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.4805, allocations: 172.6 kB / 450.1 MB, free: 25.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.4806, allocations: 36.22 kB / 450.1 MB, free: 25.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.4817, allocations: 0.6645 MB / 450.8 MB, free: 25.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4817, allocations: 0 / 450.8 MB, free: 25.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002061/0.4838, allocations: 498.5 kB / 451.3 MB, free: 25.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (idealPump1.swashPlatePD.D.x,accumulator.liquidChamber.port[1].p,accumulator.gasChamber.pV,accumulator.damper.s_rel,accumulator.damper.v_rel,constantSpeed.phi) * Number of discrete variables: 7 ($whenCondition1,idealPump1.mechanicalPumpLosses.startForward,idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.locked,idealPump1.mechanicalPumpLosses.mode,accumulator.liquidChamber.empty,accumulator.gasChamber.empty) * Number of discrete states: 4 ($whenCondition1,idealPump1.mechanicalPumpLosses.mode,idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003352/0.4871, allocations: 2.106 MB / 453.4 MB, free: 23.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.4905, allocations: 1.914 MB / 455.3 MB, free: 22.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.4906, allocations: 0 / 455.3 MB, free: 22.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009854/0.4916, allocations: 0.7397 MB / 456.1 MB, free: 22.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.4934, allocations: 351.1 kB / 456.4 MB, free: 22.13 MB / 318.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.01197/0.5054, allocations: 7.492 MB / 463.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.5061, allocations: 1.17 MB / 465.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.5072, allocations: 205.5 kB / 465.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.5078, allocations: 463.3 kB / 465.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5078, allocations: 0 / 465.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.6216, allocations: 28.88 MB / 494.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.6219, allocations: 255.6 kB / 494.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.646, allocations: 0 / 494.8 MB, free: 0.5859 MB / 334.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_LossyPumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_LossyPumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe 2>&1) Environment - environmentSimulation: