Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.06052/0.06052, allocations: 11.16 MB / 30.5 MB, free: 4.934 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 99.55 kB / 38.14 MB, free: 7.207 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 156.5 kB / 45.84 MB, free: 10.61 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.845/0.845, allocations: 177.2 MB / 230.6 MB, free: 4.762 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.08761/0.08761, allocations: 17.63 MB / 309.1 MB, free: 8.816 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 4 kB / 389.9 MB, free: 47.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.135e-05, allocations: 4.953 kB / 389.9 MB, free: 47.06 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66: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.04271/0.04273, allocations: 70.01 MB / 459.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.05454, allocations: 16.81 MB / 476.7 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.05497, allocations: 19.81 kB / 476.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.05552, allocations: 242.2 kB / 477 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.05992, allocations: 2.448 MB / 479.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.06263, allocations: 1.693 MB / 481.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.06339, allocations: 1.203 MB / 482.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.0637, allocations: 288 kB / 482.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.06522, allocations: 1.237 MB / 483.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.06561, allocations: 406.8 kB / 484.3 MB, free: 0.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.06566, allocations: 44 kB / 484.3 MB, free: 0.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.06756, allocations: 1.512 MB / 485.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.06793, allocations: 155.5 kB / 486 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.06808, allocations: 203.5 kB / 486.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.06999, allocations: 2.23 MB / 488.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.06999, allocations: 0 / 488.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.06999, allocations: 0 / 488.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.07, allocations: 0 / 488.4 MB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001151/0.07115, allocations: 0.9754 MB / 489.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.07118, allocations: 8.031 kB / 489.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.07124, allocations: 70.53 kB / 489.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.07135, allocations: 87.66 kB / 489.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.07176, allocations: 356.8 kB / 489.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.07178, allocations: 29 kB / 489.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.07183, allocations: 39.94 kB / 489.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.07236, allocations: 474.3 kB / 490.4 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.07237, allocations: 0 / 490.4 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.0724, allocations: 20 kB / 490.4 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.07241, allocations: 8 kB / 490.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.07289, allocations: 379.7 kB / 490.8 MB, free: 10.13 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.07456, allocations: 1.427 MB / 492.2 MB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.07497, allocations: 330.9 kB / 492.6 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.07517, allocations: 169.9 kB / 492.7 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.07619, allocations: 0.6217 MB / 493.3 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.07645, allocations: 230.8 kB / 493.6 MB, free: 7.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.07645, allocations: 0 / 493.6 MB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009556/0.07741, allocations: 0.5891 MB / 494.2 MB, free: 6.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.07744, allocations: 59.41 kB / 494.2 MB, free: 6.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.07775, allocations: 397.5 kB / 494.6 MB, free: 6.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.07777, allocations: 29.7 kB / 494.6 MB, free: 6.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.07789, allocations: 244.3 kB / 494.9 MB, free: 5.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.07796, allocations: 134.8 kB / 495 MB, free: 5.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.07805, allocations: 82.17 kB / 495.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.07814, allocations: 350.8 kB / 495.4 MB, free: 5.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.07834, allocations: 148.9 kB / 495.6 MB, free: 5.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.07858, allocations: 241.8 kB / 495.8 MB, free: 4.926 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.07998, allocations: 0.8801 MB / 496.7 MB, free: 4.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.07998, allocations: 3.938 kB / 496.7 MB, free: 4.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007869/0.08077, allocations: 0.5463 MB / 497.2 MB, free: 3.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.08079, allocations: 4 kB / 497.2 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.08079, allocations: 4 kB / 497.3 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.08098, allocations: 77.97 kB / 497.3 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.0812, allocations: 83.83 kB / 497.4 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000634/0.08184, allocations: 1.12 MB / 498.5 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.08201, allocations: 47.66 kB / 498.6 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.08205, allocations: 19.98 kB / 498.6 MB, free: 2.039 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 44 * 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.0001653/0.08221, allocations: 173.9 kB / 498.8 MB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.08227, allocations: 55.66 kB / 498.8 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.08298, allocations: 478.2 kB / 499.3 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.08299, allocations: 4 kB / 499.3 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.08299, allocations: 4 kB / 499.3 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.083, allocations: 3.984 kB / 499.3 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.08429, allocations: 0.8991 MB / 0.4885 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.0843, allocations: 3.938 kB / 0.4885 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.08444, allocations: 47.91 kB / 0.4885 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.08457, allocations: 77.73 kB / 0.4886 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.08459, allocations: 11.98 kB / 0.4886 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005229/0.08511, allocations: 1.112 MB / 0.4897 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.08512, allocations: 7.969 kB / 0.4897 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.08593, allocations: 0.6982 MB / 0.4904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.08604, allocations: 75.64 kB / 0.4905 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.08609, allocations: 11.98 kB / 0.4905 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.08623, allocations: 11.98 kB / 0.4905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.08631, allocations: 31.95 kB / 0.4905 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.08634, allocations: 8 kB / 0.4905 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.08658, allocations: 283.1 kB / 0.4908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08658, allocations: 4 kB / 0.4908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00104/0.08762, allocations: 0.5255 MB / 0.4913 GB, free: 13.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * 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 (29): * Single equations (assignments): 23 * 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.001997/0.08962, allocations: 2.009 MB / 0.4933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.09015, allocations: 369.1 kB / 0.4936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09015, allocations: 0 / 0.4936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.09038, allocations: 183.7 kB / 0.4938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.09099, allocations: 223.4 kB / 0.494 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.09523, allocations: 4.274 MB / 0.4982 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.09537, allocations: 220.3 kB / 0.4984 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.09556, allocations: 88.09 kB / 0.4985 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.09572, allocations: 160.4 kB / 0.4986 GB, free: 5.645 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.09572, allocations: 0 / 0.4986 GB, free: 5.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/0.247, allocations: 24.68 MB / 0.5227 GB, free: 138.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.551, allocations: 5.062 kB / 0.5227 GB, free: 138.4 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.513001704588532]