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.09197/0.09197, allocations: 11.16 MB / 30.26 MB, free: 0 / 19.63 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.001396/0.001396, allocations: 88.73 kB / 37.85 MB, free: 8.098 MB / 34.91 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.001718/0.001718, allocations: 160.6 kB / 45.52 MB, free: 420 kB / 34.91 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 1.445/1.445, allocations: 177.2 MB / 230.2 MB, free: 8.367 MB / 206.1 MB " [Timeout remaining time 178] 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.1507/0.1507, allocations: 17.63 MB / 308.7 MB, free: 12.87 MB / 286.1 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: translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 453.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.556e-05, allocations: 2.281 kB / 453.6 MB, free: 3.152 MB / 350.1 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.1034/0.1035, allocations: 69.89 MB / 0.5112 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3276/0.431, allocations: 16.81 MB / 0.5276 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009609/0.432, allocations: 25.14 kB / 0.5276 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.4329, allocations: 239.7 kB / 0.5279 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.4432, allocations: 2.443 MB / 0.5303 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.449, allocations: 1.692 MB / 0.5319 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.4512, allocations: 1.208 MB / 0.5331 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.4518, allocations: 282.2 kB / 0.5334 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.4551, allocations: 1.226 MB / 0.5346 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.4562, allocations: 409.5 kB / 0.535 GB, free: 27.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.4562, allocations: 43.72 kB / 0.535 GB, free: 27.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/0.462, allocations: 1.508 MB / 0.5365 GB, free: 26.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.4622, allocations: 143.9 kB / 0.5366 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.4626, allocations: 213.5 kB / 0.5368 GB, free: 26.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.4694, allocations: 2.229 MB / 0.539 GB, free: 26.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4694, allocations: 1.156 kB / 0.539 GB, free: 26.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4694, allocations: 2.656 kB / 0.539 GB, free: 26.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4694, allocations: 0 / 0.539 GB, free: 26.5 MB / 430.1 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.00241/0.4718, allocations: 0.9687 MB / 0.5399 GB, free: 25.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4719, allocations: 13.36 kB / 0.5399 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.472, allocations: 54.89 kB / 0.54 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.4726, allocations: 345 kB / 0.5403 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.4727, allocations: 34.19 kB / 0.5404 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.4727, allocations: 34.97 kB / 0.5404 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.4737, allocations: 473.5 kB / 0.5408 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.4737, allocations: 1.703 kB / 0.5408 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.4737, allocations: 17.91 kB / 0.5409 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4738, allocations: 13.16 kB / 0.5409 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.4745, allocations: 381.2 kB / 0.5412 GB, free: 25.61 MB / 430.1 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.002322/0.4768, allocations: 1.351 MB / 0.5426 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.4774, allocations: 335.9 kB / 0.5429 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4777, allocations: 166.6 kB / 0.543 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.4788, allocations: 0.6167 MB / 0.5436 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.4791, allocations: 234.1 kB / 0.5439 GB, free: 24.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.4792, allocations: 2.656 kB / 0.5439 GB, free: 24.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.001473/0.4806, allocations: 0.5591 MB / 0.5444 GB, free: 24.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4807, allocations: 56.03 kB / 0.5445 GB, free: 24.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.4811, allocations: 367.7 kB / 0.5448 GB, free: 24.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4811, allocations: 35.77 kB / 0.5448 GB, free: 24.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4813, allocations: 251.1 kB / 0.5451 GB, free: 24.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.4814, allocations: 120.5 kB / 0.5452 GB, free: 24.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.4815, allocations: 87.66 kB / 0.5453 GB, free: 24.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.4816, allocations: 346.7 kB / 0.5456 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.4819, allocations: 149.6 kB / 0.5458 GB, free: 23.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.4823, allocations: 237.6 kB / 0.546 GB, free: 23.68 MB / 430.1 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.002161/0.4844, allocations: 0.8786 MB / 0.5468 GB, free: 23.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4844, allocations: 1 kB / 0.5468 GB, free: 23.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001016/0.4855, allocations: 0.5327 MB / 0.5474 GB, free: 23.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4855, allocations: 6.75 kB / 0.5474 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4855, allocations: 2.406 kB / 0.5474 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.4857, allocations: 77.03 kB / 0.5474 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.4861, allocations: 81.22 kB / 0.5475 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/0.4866, allocations: 1.118 MB / 0.5486 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.487, allocations: 51.36 kB / 0.5487 GB, free: 22.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.487, allocations: 17.72 kB / 0.5487 GB, free: 22.42 MB / 430.1 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.0002013/0.4872, allocations: 170.1 kB / 0.5488 GB, free: 22.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.4873, allocations: 40.66 kB / 0.5489 GB, free: 22.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.4883, allocations: 487.2 kB / 0.5493 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4883, allocations: 3.344 kB / 0.5494 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4883, allocations: 0.9688 kB / 0.5494 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4883, allocations: 2.531 kB / 0.5494 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4897, allocations: 0.8547 MB / 0.5502 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4897, allocations: 0 / 0.5502 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.4899, allocations: 44.22 kB / 0.5502 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.4901, allocations: 79.39 kB / 0.5503 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4901, allocations: 15.66 kB / 0.5503 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004801/0.4906, allocations: 1.111 MB / 0.5514 GB, free: 20.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4906, allocations: 1.125 kB / 0.5514 GB, free: 20.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4917, allocations: 0.688 MB / 0.5521 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.4919, allocations: 69.34 kB / 0.5521 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.492, allocations: 8.5 kB / 0.5522 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4923, allocations: 21.38 kB / 0.5522 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4924, allocations: 33.58 kB / 0.5522 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.4924, allocations: 14.25 kB / 0.5522 GB, free: 20.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.4927, allocations: 253.8 kB / 0.5525 GB, free: 20.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4927, allocations: 0.5 kB / 0.5525 GB, free: 20.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001889/0.4946, allocations: 0.5347 MB / 0.553 GB, free: 20.45 MB / 430.1 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.001707/0.4963, allocations: 0.8744 MB / 0.5538 GB, free: 20.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.4973, allocations: 365.8 kB / 0.5542 GB, free: 20.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4973, allocations: 0 / 0.5542 GB, free: 20.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.4977, allocations: 171.8 kB / 0.5544 GB, free: 20.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.4986, allocations: 185.4 kB / 0.5545 GB, free: 20.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.5002, allocations: 0.8416 MB / 0.5554 GB, free: 19.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.5004, allocations: 221.3 kB / 0.5556 GB, free: 19.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.5007, allocations: 81.62 kB / 0.5556 GB, free: 19.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5008, allocations: 41.97 kB / 0.5557 GB, free: 19.76 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5008, allocations: 0 / 0.5557 GB, free: 19.76 MB / 430.1 MB Notification: Performance of Templates: time 0.025/0.5258, allocations: 17.66 MB / 0.5729 GB, free: 13.56 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.146591313183308] Failed to read output from testmodel.py, exit status != 0: 0.5347413420677185 0.543114199 0.071401985 Calling exit ...