Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Kofranek2014_PulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.013/2.013, allocations: 210.4 MB / 222.5 MB, free: 4.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.387e-05, allocations: 0 / 273.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.35 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.5871, allocations: 95.49 MB / 417.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5875, allocations: 86.64 kB / 417.8 MB, free: 14.69 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Physiolibrary 2.3.2-beta/Hydraulic.mo:685:11-687:28:writable] Warning: connect(inflow, inflow) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.9229/1.51, allocations: 125 MB / 0.5301 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/1.51, allocations: 1.688 kB / 0.5301 GB, free: 108.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.87e-05/1.511, allocations: 15.75 kB / 0.5301 GB, free: 108.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002926/1.513, allocations: 0.8509 MB / 0.5309 GB, free: 107.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.514, allocations: 10.28 kB / 0.5309 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/1.514, allocations: 83.36 kB / 0.531 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/1.514, allocations: 66.62 kB / 0.5311 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.515, allocations: 419.1 kB / 0.5315 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/1.515, allocations: 37.73 kB / 0.5315 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.515, allocations: 45.78 kB / 0.5316 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/1.516, allocations: 363.6 kB / 0.5319 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.516, allocations: 0 / 0.5319 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/1.516, allocations: 23.09 kB / 0.5319 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/1.516, allocations: 16.19 kB / 0.5319 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/1.517, allocations: 266.3 kB / 0.5322 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/1.521, allocations: 1.202 MB / 0.5334 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/1.522, allocations: 309 kB / 0.5337 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/1.522, allocations: 260.9 kB / 0.5339 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/1.522, allocations: 7.391 kB / 0.5339 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/1.523, allocations: 191.8 kB / 0.5341 GB, free: 106.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 3.286e-06/1.523, allocations: 0 / 0.5341 GB, free: 106.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001232/1.524, allocations: 341.4 kB / 0.5344 GB, free: 106.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.524, allocations: 58.59 kB / 0.5345 GB, free: 106.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/1.525, allocations: 391.5 kB / 0.5349 GB, free: 106.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/1.525, allocations: 35.11 kB / 0.5349 GB, free: 106.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/1.525, allocations: 260.8 kB / 0.5351 GB, free: 106.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/1.525, allocations: 115.9 kB / 0.5353 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/1.525, allocations: 7.031 kB / 0.5353 GB, free: 106.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/1.526, allocations: 363.8 kB / 0.5356 GB, free: 106.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/1.526, allocations: 107.3 kB / 0.5357 GB, free: 106.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/1.526, allocations: 169.6 kB / 0.5359 GB, free: 106 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/1.527, allocations: 128.4 kB / 0.536 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.527, allocations: 0 / 0.536 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001275/1.528, allocations: 396.3 kB / 0.5364 GB, free: 105.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.528, allocations: 3.625 kB / 0.5364 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.528, allocations: 3.906 kB / 0.5364 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1.528, allocations: 7.438 kB / 0.5364 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/1.529, allocations: 111.2 kB / 0.5365 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.529, allocations: 3.938 kB / 0.5365 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.531, allocations: 73.83 kB / 0.5366 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.531, allocations: 23.39 kB / 0.5366 GB, free: 105.9 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real rightHeart.pulses.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of cardiac cycle" type: Real leftHeart.pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real leftHeart.pulses.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of cardiac cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$PRE.rightHeart.pulses.HP,$whenCondition2,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$PRE.leftHeart.pulses.HP,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0002569/1.532, allocations: 139.1 kB / 0.5367 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/1.532, allocations: 51.03 kB / 0.5368 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/1.533, allocations: 378.3 kB / 0.5371 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.533, allocations: 3.969 kB / 0.5371 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.533, allocations: 0 / 0.5371 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/1.533, allocations: 3.094 kB / 0.5371 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.536, allocations: 0.9328 MB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.537, allocations: 4 kB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.538, allocations: 81.39 kB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.538, allocations: 3.75 kB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.538, allocations: 7.719 kB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/1.538, allocations: 3.844 kB / 0.5381 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.538, allocations: 3.656 kB / 0.5382 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/1.541, allocations: 0.5748 MB / 0.5387 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008926/1.542, allocations: 161.4 kB / 0.5389 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/1.542, allocations: 15.56 kB / 0.5389 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.545, allocations: 33.94 kB / 0.5389 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.545, allocations: 25.97 kB / 0.5389 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/1.545, allocations: 21.78 kB / 0.539 GB, free: 105.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008708/1.546, allocations: 302.9 kB / 0.5392 GB, free: 105 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.546, allocations: 0 / 0.5392 GB, free: 105 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001406/1.548, allocations: 146.3 kB / 0.5394 GB, free: 105 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.state,PulmonaryVeins.state,SystemicVeins.state,SystemicArteries.state) * Number of discrete variables: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/1.55, allocations: 1.186 MB / 0.5405 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/1.551, allocations: 292.9 kB / 0.5408 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.551, allocations: 0 / 0.5408 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/1.552, allocations: 146.4 kB / 0.541 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.553, allocations: 103.6 kB / 0.5411 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/1.557, allocations: 0.7254 MB / 0.5418 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/1.557, allocations: 0.8623 MB / 0.5426 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006885/1.558, allocations: 68.42 kB / 0.5427 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/1.559, allocations: 195.7 kB / 0.5429 GB, free: 103.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.704e-06/1.559, allocations: 0 / 0.5429 GB, free: 103.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/1.614, allocations: 10.82 MB / 0.5534 GB, free: 102.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/1.615, allocations: 179 kB / 0.5536 GB, free: 102.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.758, allocations: 0 / 0.5536 GB, free: 102.1 MB / 426.7 MB