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.06194/0.06194, allocations: 11.16 MB / 30.25 MB, free: 5.078 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.0007652/0.0007652, allocations: 89.14 kB / 37.83 MB, free: 7.652 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.0008672/0.0008672, allocations: 156.6 kB / 45.51 MB, free: 52 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.8709/0.8709, allocations: 177.1 MB / 230.2 MB, free: 6.57 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.184/0.184, allocations: 17.62 MB / 308.7 MB, free: 1.746 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.873e-06/1.873e-06, allocations: 0 / 453.1 MB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.564e-05, allocations: 2.281 kB / 453.1 MB, free: 6.02 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.2323/0.2323, allocations: 69.83 MB / 0.5107 GB, free: 14.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.2437, allocations: 16.82 MB / 0.5271 GB, free: 1.844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.2442, allocations: 23.88 kB / 0.5271 GB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.245, allocations: 241.3 kB / 0.5274 GB, free: 1.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.2504, allocations: 2.443 MB / 0.5297 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.2539, allocations: 1.693 MB / 0.5314 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.255, allocations: 1.205 MB / 0.5326 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.2554, allocations: 286.4 kB / 0.5328 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.2574, allocations: 1.23 MB / 0.534 GB, free: 11.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.2579, allocations: 409.2 kB / 0.5344 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.2579, allocations: 44 kB / 0.5345 GB, free: 11.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.2609, allocations: 1.51 MB / 0.536 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.261, allocations: 141.7 kB / 0.5361 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2612, allocations: 205.8 kB / 0.5363 GB, free: 9.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.2637, allocations: 2.235 MB / 0.5385 GB, free: 8.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2637, allocations: 0 / 0.5385 GB, free: 8.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2637, allocations: 0 / 0.5385 GB, free: 8.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2637, allocations: 0 / 0.5385 GB, free: 8.145 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.001469/0.2652, allocations: 0.9775 MB / 0.5394 GB, free: 7.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2652, allocations: 12.03 kB / 0.5394 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.2653, allocations: 71.98 kB / 0.5395 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.2654, allocations: 51.67 kB / 0.5395 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.2659, allocations: 346.5 kB / 0.5399 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2659, allocations: 25 kB / 0.5399 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.266, allocations: 45.44 kB / 0.5399 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2666, allocations: 477 kB / 0.5404 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2666, allocations: 4 kB / 0.5404 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.2666, allocations: 12.84 kB / 0.5404 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2666, allocations: 8 kB / 0.5404 GB, free: 6.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.2672, allocations: 388.7 kB / 0.5408 GB, free: 5.934 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.001694/0.2689, allocations: 1.41 MB / 0.5422 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.2693, allocations: 334.2 kB / 0.5425 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2695, allocations: 163.4 kB / 0.5426 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.2702, allocations: 0.6195 MB / 0.5433 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.2705, allocations: 238 kB / 0.5435 GB, free: 3.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.2705, allocations: 0 / 0.5435 GB, free: 3.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001009/0.2715, allocations: 0.5663 MB / 0.544 GB, free: 2.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2716, allocations: 60.14 kB / 0.5441 GB, free: 2.863 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.272, allocations: 399.2 kB / 0.5445 GB, free: 2.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.272, allocations: 42.16 kB / 0.5445 GB, free: 2.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.2721, allocations: 233.1 kB / 0.5447 GB, free: 2.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.2722, allocations: 123.8 kB / 0.5449 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.2723, allocations: 88.86 kB / 0.5449 GB, free: 2.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2724, allocations: 352.5 kB / 0.5453 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2726, allocations: 147.5 kB / 0.5454 GB, free: 1.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.2729, allocations: 242.4 kB / 0.5456 GB, free: 1.348 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.001404/0.2743, allocations: 0.8829 MB / 0.5465 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2743, allocations: 0.75 kB / 0.5465 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006626/0.275, allocations: 0.5304 MB / 0.547 GB, free: 72 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.275, allocations: 8.609 kB / 0.547 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.275, allocations: 4 kB / 0.547 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.2752, allocations: 79.05 kB / 0.5471 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.2754, allocations: 71.84 kB / 0.5472 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/0.2759, allocations: 1.115 MB / 0.5483 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2761, allocations: 51.56 kB / 0.5483 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2761, allocations: 18.16 kB / 0.5483 GB, free: 14.72 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.0001807/0.2763, allocations: 184.8 kB / 0.5485 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2764, allocations: 48.45 kB / 0.5486 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.277, allocations: 480.8 kB / 0.549 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.277, allocations: 0.7969 kB / 0.549 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.277, allocations: 4 kB / 0.549 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2771, allocations: 2.062 kB / 0.549 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2781, allocations: 0.9031 MB / 0.5499 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2781, allocations: 3.938 kB / 0.5499 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2782, allocations: 48.47 kB / 0.55 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.2784, allocations: 74.45 kB / 0.55 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2784, allocations: 18.55 kB / 0.55 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000488/0.2789, allocations: 1.119 MB / 0.5511 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2789, allocations: 0 / 0.5511 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.2796, allocations: 0.6852 MB / 0.5518 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2797, allocations: 74.27 kB / 0.5519 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2798, allocations: 12.97 kB / 0.5519 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2799, allocations: 16.36 kB / 0.5519 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.28, allocations: 32.92 kB / 0.5519 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.28, allocations: 10.67 kB / 0.5519 GB, free: 11.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.2802, allocations: 285 kB / 0.5522 GB, free: 10.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2802, allocations: 0 / 0.5522 GB, free: 10.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009789/0.2812, allocations: 0.5299 MB / 0.5527 GB, free: 10.46 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.002045/0.2833, allocations: 2.008 MB / 0.5547 GB, free: 8.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005655/0.2838, allocations: 360.3 kB / 0.555 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2838, allocations: 0 / 0.555 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2841, allocations: 174.8 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.0006449/0.2847, allocations: 211 kB / 0.5554 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.2887, allocations: 4.24 MB / 0.5595 GB, free: 3.934 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.2889, allocations: 223 kB / 0.5598 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.2891, allocations: 79.12 kB / 0.5598 GB, free: 3.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.2892, allocations: 163.3 kB / 0.56 GB, free: 3.555 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2892, allocations: 0 / 0.56 GB, free: 3.555 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3233, allocations: 24.56 MB / 0.584 GB, free: 11.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.632, allocations: 7.625 kB / 0.584 GB, free: 11.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.557978881523013] Failed to read output from testmodel.py, exit status != 0: 8.727848355658352 8.736114519000001 8.470491635 Calling exit ...