Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08716/0.08716, allocations: 15.27 MB / 30.53 MB, free: 3.199 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.0009874/0.0009875, allocations: 195.1 kB / 35.63 MB, free: 2.25 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.414/1.414, allocations: 225.7 MB / 266.3 MB, free: 6.066 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.0007871/0.0007874, allocations: 86.55 kB / 321.7 MB, free: 2.203 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.1729/0.1729, allocations: 20.57 MB / 397.6 MB, free: 42.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004783, allocations: 20 kB / 469.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3255, allocations: 59.77 MB / 0.5168 GB, free: 40.91 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.MinimalCirculation): time 0.08154/0.4071, allocations: 83.56 MB / 0.5984 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.4277, allocations: 20.96 MB / 0.6189 GB, free: 6.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.429, allocations: 31.69 kB / 0.6189 GB, free: 6.926 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.4303, allocations: 327.9 kB / 0.6192 GB, free: 6.684 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.4361, allocations: 1.768 MB / 0.621 GB, free: 5.277 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007005/0.4431, allocations: 1.927 MB / 0.6228 GB, free: 3.711 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4459, allocations: 2.241 MB / 0.625 GB, free: 1.918 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.4467, allocations: 375.3 kB / 0.6254 GB, free: 1.652 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.448, allocations: 0.5264 MB / 0.6259 GB, free: 1.199 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.4491, allocations: 0.5298 MB / 0.6264 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4493, allocations: 28 kB / 0.6264 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007704/0.457, allocations: 2.433 MB / 0.6288 GB, free: 14.62 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.4573, allocations: 129.6 kB / 0.6289 GB, free: 14.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.4578, allocations: 324.5 kB / 0.6292 GB, free: 14.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009888/0.4677, allocations: 2.895 MB / 0.6321 GB, free: 11.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4678, allocations: 0 / 0.6321 GB, free: 11.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4678, allocations: 0 / 0.6321 GB, free: 11.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.4678, allocations: 0 / 0.6321 GB, free: 11.88 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003294/0.4711, allocations: 1.177 MB / 0.6332 GB, free: 10.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4712, allocations: 13.44 kB / 0.6332 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.4714, allocations: 59.77 kB / 0.6333 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.4721, allocations: 431.1 kB / 0.6337 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.4722, allocations: 37.59 kB / 0.6337 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.4723, allocations: 47.91 kB / 0.6338 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.4735, allocations: 0.5184 MB / 0.6343 GB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4735, allocations: 0.9844 kB / 0.6343 GB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.4735, allocations: 19.94 kB / 0.6343 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.4736, allocations: 12 kB / 0.6343 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.4747, allocations: 491.5 kB / 0.6348 GB, free: 9.301 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.478, allocations: 1.937 MB / 0.6367 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.479, allocations: 427.6 kB / 0.6371 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.4795, allocations: 221.1 kB / 0.6373 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.4814, allocations: 1.328 MB / 0.6386 GB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.4819, allocations: 244.6 kB / 0.6388 GB, free: 5.066 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.4819, allocations: 7.938 kB / 0.6388 GB, free: 5.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001506/0.4834, allocations: 0.67 MB / 0.6395 GB, free: 4.363 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4835, allocations: 59.41 kB / 0.6396 GB, free: 4.293 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.484, allocations: 437.8 kB / 0.64 GB, free: 3.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.484, allocations: 37.7 kB / 0.64 GB, free: 3.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4843, allocations: 279.7 kB / 0.6403 GB, free: 3.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4844, allocations: 126.2 kB / 0.6404 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4844, allocations: 12 kB / 0.6404 GB, free: 3.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4846, allocations: 362.7 kB / 0.6407 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.485, allocations: 193 kB / 0.6409 GB, free: 2.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.4856, allocations: 344.9 kB / 0.6413 GB, free: 2.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.4865, allocations: 0.5367 MB / 0.6418 GB, free: 1.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4865, allocations: 0 / 0.6418 GB, free: 1.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001311/0.4878, allocations: 0.6523 MB / 0.6424 GB, free: 1.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.4879, allocations: 37.69 kB / 0.6425 GB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4879, allocations: 7.938 kB / 0.6425 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.4881, allocations: 33.25 kB / 0.6425 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.4887, allocations: 123.8 kB / 0.6426 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/0.4891, allocations: 0.5446 MB / 0.6431 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.4897, allocations: 87.48 kB / 0.6432 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.4898, allocations: 20 kB / 0.6433 GB, free: 304 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.49, allocations: 190.1 kB / 0.6434 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.4901, allocations: 47.44 kB / 0.6435 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4912, allocations: 497.3 kB / 0.644 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4912, allocations: 8 kB / 0.644 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4913, allocations: 3.938 kB / 0.644 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4913, allocations: 7.984 kB / 0.644 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.4919, allocations: 489 kB / 0.6444 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4919, allocations: 4 kB / 0.6444 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.4922, allocations: 63.89 kB / 0.6445 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.493e-05/0.4923, allocations: 36.83 kB / 0.6445 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4924, allocations: 4 kB / 0.6445 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003269/0.4927, allocations: 0.5523 MB / 0.6451 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4927, allocations: 0 / 0.6451 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.4941, allocations: 0.6781 MB / 0.6457 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.4943, allocations: 168.5 kB / 0.6459 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.4944, allocations: 11.98 kB / 0.6459 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4947, allocations: 39.88 kB / 0.646 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4949, allocations: 35.95 kB / 0.646 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.4949, allocations: 11.98 kB / 0.646 GB, free: 13.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003612/0.4953, allocations: 307.1 kB / 0.6463 GB, free: 13.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4953, allocations: 3.938 kB / 0.6463 GB, free: 13.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001824/0.4971, allocations: 0.6671 MB / 0.6469 GB, free: 12.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (arteries.enthalpy,arteries.mass,veins.enthalpy,veins.mass) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002318/0.4994, allocations: 1.066 MB / 0.648 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.5006, allocations: 0.5196 MB / 0.6485 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5006, allocations: 0 / 0.6485 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.5011, allocations: 220 kB / 0.6487 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.502, allocations: 167.2 kB / 0.6489 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5041, allocations: 1.367 MB / 0.6502 GB, free: 9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5045, allocations: 0.8508 MB / 0.651 GB, free: 8.121 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004252/0.505, allocations: 108.2 kB / 0.6511 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5051, allocations: 55.41 kB / 0.6512 GB, free: 7.957 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5051, allocations: 0 / 0.6512 GB, free: 7.957 MB / 458.7 MB Notification: Performance of Templates: time 0.03072/0.5359, allocations: 20.47 MB / 0.6712 GB, free: 3.555 MB / 474.7 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1)