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.05629/0.05629, allocations: 11.16 MB / 30.25 MB, free: 5.07 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.0007566/0.0007566, allocations: 83.59 kB / 37.83 MB, free: 7.645 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.0009615/0.0009615, allocations: 160.6 kB / 45.51 MB, free: 48 kB / 33.03 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.9101/0.9101, allocations: 177.2 MB / 230.2 MB, free: 6.543 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.2077/0.2077, allocations: 17.62 MB / 308.7 MB, free: 1.734 MB / 266.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 1.253e-06/1.253e-06, allocations: 0 / 453.1 MB, free: 6.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.155e-05, allocations: 5.375 kB / 453.1 MB, free: 6.004 MB / 410.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.1947/0.1947, allocations: 69.82 MB / 0.5107 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.2051, allocations: 16.83 MB / 0.5271 GB, free: 1.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.2056, allocations: 19.88 kB / 0.5271 GB, free: 1.805 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.2062, allocations: 239.3 kB / 0.5274 GB, free: 1.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.2099, allocations: 2.448 MB / 0.5298 GB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.2128, allocations: 1.684 MB / 0.5314 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.214, allocations: 1.212 MB / 0.5326 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.2144, allocations: 290.8 kB / 0.5329 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.216, allocations: 1.229 MB / 0.5341 GB, free: 11.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.2164, allocations: 412.8 kB / 0.5345 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.2165, allocations: 44 kB / 0.5345 GB, free: 11.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.2189, allocations: 1.503 MB / 0.536 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.219, allocations: 149.5 kB / 0.5361 GB, free: 10.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2192, allocations: 202.3 kB / 0.5363 GB, free: 9.969 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.2214, allocations: 2.23 MB / 0.5385 GB, free: 8.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2214, allocations: 0 / 0.5385 GB, free: 8.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2214, allocations: 0 / 0.5385 GB, free: 8.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2214, allocations: 0 / 0.5385 GB, free: 8.137 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001278/0.2226, allocations: 0.9748 MB / 0.5394 GB, free: 7.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2227, allocations: 12.03 kB / 0.5394 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.416e-05/0.2228, allocations: 71.75 kB / 0.5395 GB, free: 7.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.2229, allocations: 52.38 kB / 0.5396 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.2233, allocations: 346 kB / 0.5399 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.2233, allocations: 33 kB / 0.5399 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.2234, allocations: 40.75 kB / 0.54 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.2242, allocations: 481.9 kB / 0.5404 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2242, allocations: 0 / 0.5404 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.2242, allocations: 16 kB / 0.5404 GB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.2242, allocations: 9.547 kB / 0.5404 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.2247, allocations: 379.9 kB / 0.5408 GB, free: 5.926 MB / 426.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.001583/0.2263, allocations: 1.41 MB / 0.5422 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.2267, allocations: 329.6 kB / 0.5425 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.2269, allocations: 164.2 kB / 0.5427 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.2276, allocations: 0.6232 MB / 0.5433 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.2279, allocations: 245.6 kB / 0.5435 GB, free: 3.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.2279, allocations: 0 / 0.5435 GB, free: 3.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009537/0.2288, allocations: 0.5623 MB / 0.544 GB, free: 2.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2289, allocations: 59.91 kB / 0.5441 GB, free: 2.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.2292, allocations: 399.5 kB / 0.5445 GB, free: 2.496 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2292, allocations: 34.45 kB / 0.5445 GB, free: 2.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2294, allocations: 236.8 kB / 0.5447 GB, free: 2.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.2294, allocations: 123.9 kB / 0.5449 GB, free: 2.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2295, allocations: 85 kB / 0.5449 GB, free: 2.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2296, allocations: 356.3 kB / 0.5453 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.2298, allocations: 143.4 kB / 0.5454 GB, free: 1.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.2301, allocations: 246.7 kB / 0.5457 GB, free: 1.336 MB / 426.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.001371/0.2315, allocations: 0.8832 MB / 0.5465 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2315, allocations: 0 / 0.5465 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006442/0.2321, allocations: 0.5271 MB / 0.547 GB, free: 64 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2321, allocations: 8.516 kB / 0.547 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2321, allocations: 0 / 0.547 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.2323, allocations: 83.69 kB / 0.5471 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2325, allocations: 76.22 kB / 0.5472 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007936/0.2333, allocations: 1.112 MB / 0.5483 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2335, allocations: 54.88 kB / 0.5483 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2335, allocations: 26.62 kB / 0.5484 GB, free: 14.7 MB / 442.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.0001643/0.2337, allocations: 166.3 kB / 0.5485 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2337, allocations: 48.36 kB / 0.5486 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.2344, allocations: 489.2 kB / 0.549 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2344, allocations: 8 kB / 0.549 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2344, allocations: 0.75 kB / 0.549 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2344, allocations: 1.172 kB / 0.549 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.2354, allocations: 0.8995 MB / 0.5499 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2354, allocations: 4 kB / 0.5499 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2355, allocations: 52.67 kB / 0.55 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.2356, allocations: 70 kB / 0.55 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.2356, allocations: 10.53 kB / 0.55 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004605/0.2361, allocations: 1.119 MB / 0.5511 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2361, allocations: 0.8438 kB / 0.5511 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007717/0.2369, allocations: 0.6851 MB / 0.5518 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.237, allocations: 74.41 kB / 0.5519 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.237, allocations: 8.984 kB / 0.5519 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2372, allocations: 19.47 kB / 0.5519 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2372, allocations: 25.45 kB / 0.5519 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.2373, allocations: 10.48 kB / 0.5519 GB, free: 11.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.2375, allocations: 284.9 kB / 0.5522 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2375, allocations: 8 kB / 0.5522 GB, free: 10.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007592/0.2382, allocations: 0.534 MB / 0.5527 GB, free: 10.45 MB / 442.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.001904/0.2401, allocations: 2 MB / 0.5547 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.2407, allocations: 371.8 kB / 0.555 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2407, allocations: 0 / 0.555 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.2409, allocations: 166.2 kB / 0.5552 GB, free: 8.125 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.2415, allocations: 218.2 kB / 0.5554 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.2455, allocations: 4.243 MB / 0.5596 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2457, allocations: 221 kB / 0.5598 GB, free: 3.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.2459, allocations: 81.16 kB / 0.5598 GB, free: 3.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.246, allocations: 157.8 kB / 0.56 GB, free: 3.551 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.246, allocations: 0 / 0.56 GB, free: 3.551 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.28, allocations: 24.57 MB / 0.584 GB, free: 11.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.796, allocations: 4.062 kB / 0.584 GB, free: 11.61 MB / 474.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.845945611596107] Failed to read output from testmodel.py, exit status != 0: 8.893989990465343 8.904725001 8.681515153 Calling exit ...