Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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.06337/0.06337, allocations: 11.15 MB / 31 MB, free: 4.785 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.0008879/0.0008879, allocations: 94.31 kB / 38.74 MB, free: 6.852 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.0009995/0.0009995, allocations: 170.3 kB / 42.15 MB, free: 3.52 MB / 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.9292/0.9292, allocations: 177.2 MB / 222.6 MB, free: 6.281 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.1958/0.1958, allocations: 17.61 MB / 296.7 MB, free: 1.285 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: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 4 kB / 320.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.48e-05, allocations: 6.547 kB / 320.9 MB, free: 14.17 MB / 298.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_4element): time 0.05551/0.05553, allocations: 72.83 MB / 393.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.06035, allocations: 4.517 MB / 398.3 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.06063, allocations: 23.81 kB / 398.3 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.06112, allocations: 202.4 kB / 398.5 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.06583, allocations: 2.564 MB / 401 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.06975, allocations: 2.162 MB / 403.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008918/0.07064, allocations: 1.356 MB / 404.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.07101, allocations: 382.1 kB / 404.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.07266, allocations: 1.315 MB / 406.3 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.07312, allocations: 474.6 kB / 406.7 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.07318, allocations: 56 kB / 406.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.07543, allocations: 1.672 MB / 408.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.07556, allocations: 175.4 kB / 408.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.07572, allocations: 243.5 kB / 408.9 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.07784, allocations: 2.265 MB / 411.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.07784, allocations: 0 / 411.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.07784, allocations: 0 / 411.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.07785, allocations: 3.938 kB / 411.1 MB, free: 3.922 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001045/0.07889, allocations: 1.02 MB / 412.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.07892, allocations: 8.031 kB / 412.1 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.079, allocations: 75.94 kB / 412.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.07937, allocations: 323.6 kB / 412.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.0794, allocations: 37 kB / 412.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.07944, allocations: 40 kB / 412.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.07985, allocations: 425.8 kB / 413 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.07986, allocations: 7.922 kB / 413 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.07989, allocations: 16 kB / 413.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.0799, allocations: 12 kB / 413.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.08017, allocations: 205.6 kB / 413.3 MB, free: 1.688 MB / 378.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.001376/0.08154, allocations: 1.268 MB / 414.5 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.08181, allocations: 279.1 kB / 414.8 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.08197, allocations: 116.7 kB / 414.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.08262, allocations: 0.5907 MB / 415.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.0828, allocations: 201 kB / 415.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000106/0.08291, allocations: 43.83 kB / 415.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.08291, allocations: 0 / 415.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005214/0.08343, allocations: 317.3 kB / 416.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.08346, allocations: 59.73 kB / 416.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.08365, allocations: 324.9 kB / 416.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.08367, allocations: 37.7 kB / 416.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.08376, allocations: 225.1 kB / 416.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.08384, allocations: 146.7 kB / 416.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.08393, allocations: 98.08 kB / 416.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.08402, allocations: 358.6 kB / 417.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.08415, allocations: 79.8 kB / 417.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.08454, allocations: 170.8 kB / 417.5 MB, free: 13.23 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.0006078/0.08515, allocations: 481.8 kB / 418 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.08515, allocations: 0 / 418 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004026/0.08555, allocations: 324 kB / 418.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.08557, allocations: 8.312 kB / 418.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.08557, allocations: 4 kB / 418.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.0857, allocations: 57.62 kB / 418.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.08595, allocations: 103.9 kB / 418.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/0.08633, allocations: 1.058 MB / 419.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.08647, allocations: 16 kB / 419.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.0865, allocations: 20.03 kB / 419.6 MB, free: 11.08 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 (55): * Single equations (assignments): 51 * 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.0001126/0.08661, allocations: 160.4 kB / 419.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.08665, allocations: 31.97 kB / 419.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.08705, allocations: 345.7 kB / 420.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.08706, allocations: 4 kB / 420.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.08706, allocations: 0 / 420.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.08706, allocations: 7.922 kB / 420.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.08768, allocations: 0.6105 MB / 420.7 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.08768, allocations: 8.031 kB / 420.7 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.08787, allocations: 75.89 kB / 420.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.08797, allocations: 57.55 kB / 420.9 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.08799, allocations: 11.98 kB / 420.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/0.08833, allocations: 1.054 MB / 421.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.08833, allocations: 3.938 kB / 421.9 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.08872, allocations: 456.8 kB / 422.4 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.08881, allocations: 59.62 kB / 422.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.08885, allocations: 8 kB / 422.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.08898, allocations: 15.92 kB / 422.5 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.08904, allocations: 47.66 kB / 422.5 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.08907, allocations: 16.02 kB / 422.5 MB, free: 7.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.08917, allocations: 135.5 kB / 422.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08917, allocations: 0 / 422.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.08998, allocations: 0.5839 MB / 423.2 MB, free: 7.262 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * 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 (38): * Single equations (assignments): 32 * 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.001013/0.09099, allocations: 0.9566 MB / 424.2 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.09138, allocations: 258.7 kB / 424.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.09138, allocations: 4 kB / 424.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.09154, allocations: 142.5 kB / 424.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.09204, allocations: 210.6 kB / 424.8 MB, free: 5.695 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.09397, allocations: 0.9925 MB / 425.8 MB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.845e-05/0.09404, allocations: 125.8 kB / 425.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.0943, allocations: 92.03 kB / 426 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.09465, allocations: 201.2 kB / 426.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.09465, allocations: 0 / 426.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of Templates: time 0.1444/0.2391, allocations: 22.72 MB / 448.9 MB, free: 80.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4168896512128413]