Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1056/0.1056, allocations: 15.27 MB / 30.53 MB, free: 3.078 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008765/0.0008766, allocations: 195.5 kB / 35.63 MB, free: 2.227 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.7 MB / 266.3 MB, free: 6.105 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008893, allocations: 98.72 kB / 321.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1212/0.1212, allocations: 20.56 MB / 397.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004652, allocations: 20 kB / 469.5 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3636, allocations: 59.77 MB / 0.5168 GB, free: 41.02 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_3element): time 0.0802/0.4439, allocations: 83.3 MB / 0.5982 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.4739, allocations: 29.83 MB / 0.6273 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.4752, allocations: 27.75 kB / 0.6273 GB, free: 14.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4765, allocations: 317.1 kB / 0.6276 GB, free: 14.11 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.4836, allocations: 2.073 MB / 0.6296 GB, free: 12.45 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006697/0.4903, allocations: 1.856 MB / 0.6315 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.4934, allocations: 1.928 MB / 0.6333 GB, free: 9.387 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.4943, allocations: 341.4 kB / 0.6337 GB, free: 9.141 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.4958, allocations: 493.9 kB / 0.6341 GB, free: 8.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.4966, allocations: 449.3 kB / 0.6346 GB, free: 8.363 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.4967, allocations: 24 kB / 0.6346 GB, free: 8.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.5067, allocations: 2.66 MB / 0.6372 GB, free: 6.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.507, allocations: 102.8 kB / 0.6373 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.5075, allocations: 287.4 kB / 0.6376 GB, free: 5.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.5196, allocations: 3.006 MB / 0.6405 GB, free: 3.188 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.5197, allocations: 0 / 0.6405 GB, free: 3.188 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.561e-06/0.5197, allocations: 0 / 0.6405 GB, free: 3.188 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.607e-05/0.5198, allocations: 4 kB / 0.6405 GB, free: 3.184 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003844/0.5236, allocations: 1.104 MB / 0.6416 GB, free: 2.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5237, allocations: 8.031 kB / 0.6416 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.5239, allocations: 55.38 kB / 0.6416 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.5248, allocations: 378.4 kB / 0.642 GB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.5249, allocations: 29 kB / 0.642 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.525, allocations: 36 kB / 0.6421 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.526, allocations: 434.9 kB / 0.6425 GB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.526, allocations: 3.938 kB / 0.6425 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.5261, allocations: 16 kB / 0.6425 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5261, allocations: 8 kB / 0.6425 GB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.5269, allocations: 383.7 kB / 0.6429 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.5298, allocations: 2 MB / 0.6448 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.5304, allocations: 359.1 kB / 0.6452 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.5307, allocations: 161.1 kB / 0.6453 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.532, allocations: 0.9622 MB / 0.6463 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.5324, allocations: 200.9 kB / 0.6464 GB, free: 12.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.5324, allocations: 0 / 0.6464 GB, free: 12.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001637/0.534, allocations: 0.6808 MB / 0.6471 GB, free: 11.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.5341, allocations: 59.34 kB / 0.6472 GB, free: 11.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.5346, allocations: 385.6 kB / 0.6475 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.5347, allocations: 33.7 kB / 0.6476 GB, free: 11.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5349, allocations: 235.9 kB / 0.6478 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.535, allocations: 110.4 kB / 0.6479 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.535, allocations: 8 kB / 0.6479 GB, free: 11.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5352, allocations: 346.8 kB / 0.6482 GB, free: 10.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5355, allocations: 144.7 kB / 0.6484 GB, free: 10.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.5359, allocations: 243.4 kB / 0.6486 GB, free: 10.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.5366, allocations: 367.3 kB / 0.649 GB, free: 9.902 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5366, allocations: 3.938 kB / 0.649 GB, free: 9.898 MB / 458.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001069/0.5377, allocations: 0.4901 MB / 0.6494 GB, free: 9.398 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5377, allocations: 4 kB / 0.6494 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5377, allocations: 4 kB / 0.6494 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.5381, allocations: 69.77 kB / 0.6495 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.5384, allocations: 83.83 kB / 0.6496 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/0.5393, allocations: 1.109 MB / 0.6507 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.5398, allocations: 59.67 kB / 0.6507 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.5399, allocations: 23.98 kB / 0.6508 GB, free: 7.992 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulses.T0,pulses.T0,pulses.b,$PRE.pulses.HP,pulses.HP,$PRE.pulses.TD2,pulses.TD2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.5401, allocations: 174.8 kB / 0.6509 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.5402, allocations: 35.53 kB / 0.651 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.5412, allocations: 448.8 kB / 0.6514 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5412, allocations: 4 kB / 0.6514 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5412, allocations: 7.875 kB / 0.6514 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5412, allocations: 3.984 kB / 0.6514 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.5428, allocations: 0.9181 MB / 0.6523 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5428, allocations: 4 kB / 0.6523 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.5431, allocations: 48 kB / 0.6523 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.5433, allocations: 61.62 kB / 0.6524 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.5433, allocations: 11.98 kB / 0.6524 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007539/0.5441, allocations: 1.097 MB / 0.6535 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5441, allocations: 96 / 0.6535 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.5452, allocations: 0.6428 MB / 0.6541 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.5454, allocations: 152.5 kB / 0.6543 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.5455, allocations: 8.062 kB / 0.6543 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.5459, allocations: 27.97 kB / 0.6543 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.546, allocations: 27.91 kB / 0.6543 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.546, allocations: 15.92 kB / 0.6543 GB, free: 4.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.5464, allocations: 279.2 kB / 0.6546 GB, free: 3.859 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5464, allocations: 0 / 0.6546 GB, free: 3.859 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002428/0.5488, allocations: 0.6944 MB / 0.6553 GB, free: 3.164 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.mass) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003292/0.5521, allocations: 1.189 MB / 0.6564 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.553, allocations: 360.8 kB / 0.6568 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.553, allocations: 128 / 0.6568 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.5534, allocations: 174.8 kB / 0.657 GB, free: 1.445 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.5544, allocations: 170.5 kB / 0.6571 GB, free: 1.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.5563, allocations: 1.109 MB / 0.6582 GB, free: 152 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.5568, allocations: 0.8187 MB / 0.659 GB, free: 15.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.5571, allocations: 79.3 kB / 0.6591 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5572, allocations: 39.42 kB / 0.6591 GB, free: 15.19 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5572, allocations: 0 / 0.6591 GB, free: 15.19 MB / 474.7 MB Notification: Performance of Templates: time 0.03313/0.5903, allocations: 21.98 MB / 0.6806 GB, free: 9.266 MB / 490.7 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1)