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.06251/0.06251, allocations: 11.16 MB / 31.26 MB, free: 4.938 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.001299/0.001299, allocations: 95.8 kB / 38.88 MB, free: 7.391 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: 160.5 kB / 46.58 MB, free: 10.75 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 1.015/1.015, allocations: 177.1 MB / 231.3 MB, free: 2.102 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.2257/0.2257, allocations: 17.63 MB / 309.8 MB, free: 2 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_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 1.292e-06/1.292e-06, allocations: 0 / 391.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.57e-05, allocations: 6.312 kB / 391.2 MB, free: 5.027 MB / 346.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.2625/0.2625, allocations: 79.02 MB / 470.2 MB, free: 43.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01865/0.2812, allocations: 19.11 MB / 489.3 MB, free: 42.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.2819, allocations: 21.62 kB / 489.3 MB, free: 42.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.2826, allocations: 246.4 kB / 489.5 MB, free: 42.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006001/0.2886, allocations: 2.442 MB / 492 MB, free: 41.21 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.2934, allocations: 1.695 MB / 493.7 MB, free: 40.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.2949, allocations: 1.204 MB / 494.9 MB, free: 40.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.2955, allocations: 306.4 kB / 495.2 MB, free: 40.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.2979, allocations: 1.225 MB / 496.4 MB, free: 40.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/0.2986, allocations: 411.9 kB / 496.8 MB, free: 40.03 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.2987, allocations: 41.75 kB / 496.9 MB, free: 40.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.3026, allocations: 1.51 MB / 498.4 MB, free: 39.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3027, allocations: 149.8 kB / 498.5 MB, free: 39.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3029, allocations: 212.6 kB / 498.7 MB, free: 39.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.3071, allocations: 2.069 MB / 0.4891 GB, free: 39.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3071, allocations: 9.438 kB / 0.4891 GB, free: 39.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3071, allocations: 0 / 0.4891 GB, free: 39.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3071, allocations: 0 / 0.4891 GB, free: 39.41 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.001774/0.3089, allocations: 1.063 MB / 0.4901 GB, free: 38.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3089, allocations: 9.188 kB / 0.4901 GB, free: 38.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.3091, allocations: 95.61 kB / 0.4902 GB, free: 38.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3096, allocations: 336.6 kB / 0.4905 GB, free: 38.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.3096, allocations: 39.11 kB / 0.4906 GB, free: 38.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.3097, allocations: 36.38 kB / 0.4906 GB, free: 38.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.3102, allocations: 395.6 kB / 0.491 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3102, allocations: 0 / 0.491 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.3103, allocations: 18.3 kB / 0.491 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3103, allocations: 9.281 kB / 0.491 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.3107, allocations: 197.2 kB / 0.4912 GB, free: 38.32 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.001739/0.3124, allocations: 1.525 MB / 0.4927 GB, free: 37.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.3127, allocations: 239.7 kB / 0.4929 GB, free: 37.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3128, allocations: 97.25 kB / 0.493 GB, free: 37.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.3134, allocations: 0.6271 MB / 0.4936 GB, free: 36.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3136, allocations: 179.1 kB / 0.4938 GB, free: 36.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.322e-06/0.3136, allocations: 4 kB / 0.4938 GB, free: 36.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007285/0.3143, allocations: 386 kB / 0.4941 GB, free: 36.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.3144, allocations: 61.81 kB / 0.4942 GB, free: 36.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3146, allocations: 385.1 kB / 0.4946 GB, free: 36.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3146, allocations: 40.55 kB / 0.4946 GB, free: 36.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.3147, allocations: 295.7 kB / 0.4949 GB, free: 35.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.3147, allocations: 115.6 kB / 0.495 GB, free: 35.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.3148, allocations: 93.03 kB / 0.4951 GB, free: 35.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.3149, allocations: 0.5153 MB / 0.4956 GB, free: 35.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.315, allocations: 69.92 kB / 0.4957 GB, free: 35.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3152, allocations: 186.7 kB / 0.4958 GB, free: 35.11 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.0005906/0.3158, allocations: 447.2 kB / 0.4963 GB, free: 34.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3158, allocations: 0 / 0.4963 GB, free: 34.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004896/0.3163, allocations: 389.2 kB / 0.4966 GB, free: 34.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3163, allocations: 6.812 kB / 0.4966 GB, free: 34.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3163, allocations: 3.125 kB / 0.4967 GB, free: 34.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.3165, allocations: 59.7 kB / 0.4967 GB, free: 34.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3167, allocations: 81.77 kB / 0.4968 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.3171, allocations: 1.604 MB / 0.4984 GB, free: 33.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3172, allocations: 48.27 kB / 0.4984 GB, free: 33.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3172, allocations: 18.25 kB / 0.4984 GB, free: 33.04 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.0001203/0.3174, allocations: 186.5 kB / 0.4986 GB, free: 32.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3174, allocations: 54.12 kB / 0.4986 GB, free: 32.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.3179, allocations: 353.5 kB / 0.499 GB, free: 32.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3179, allocations: 5.062 kB / 0.499 GB, free: 32.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3179, allocations: 0 / 0.499 GB, free: 32.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3179, allocations: 3.234 kB / 0.499 GB, free: 32.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.3186, allocations: 0.7698 MB / 0.4997 GB, free: 32.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3186, allocations: 0 / 0.4997 GB, free: 32.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3188, allocations: 42.23 kB / 0.4998 GB, free: 32.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.3189, allocations: 59.48 kB / 0.4998 GB, free: 32.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3189, allocations: 10.77 kB / 0.4998 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/0.3192, allocations: 1.617 MB / 0.5014 GB, free: 30.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3192, allocations: 0 / 0.5014 GB, free: 30.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.3197, allocations: 0.5147 MB / 0.5019 GB, free: 30.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.3198, allocations: 71.75 kB / 0.502 GB, free: 30.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3199, allocations: 7.406 kB / 0.502 GB, free: 30.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.32, allocations: 17.61 kB / 0.502 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3201, allocations: 32.89 kB / 0.5021 GB, free: 30.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3201, allocations: 9.688 kB / 0.5021 GB, free: 30.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3202, allocations: 270.5 kB / 0.5023 GB, free: 29.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3202, allocations: 3.938 kB / 0.5023 GB, free: 29.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001203/0.3215, allocations: 0.5298 MB / 0.5028 GB, free: 29.8 MB / 394.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.001119/0.3226, allocations: 0.8681 MB / 0.5037 GB, free: 29.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.323, allocations: 257.4 kB / 0.5039 GB, free: 28.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.323, allocations: 0 / 0.5039 GB, free: 28.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3232, allocations: 135.4 kB / 0.5041 GB, free: 28.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.3237, allocations: 202.3 kB / 0.5043 GB, free: 28.69 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.002057/0.3257, allocations: 0.8727 MB / 0.5051 GB, free: 27.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.3258, allocations: 120.8 kB / 0.5052 GB, free: 27.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.326, allocations: 67.92 kB / 0.5053 GB, free: 27.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.3261, allocations: 51.05 kB / 0.5053 GB, free: 27.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3261, allocations: 0 / 0.5053 GB, free: 27.66 MB / 394.7 MB Notification: Performance of Templates: time 0.0196/0.3457, allocations: 17.82 MB / 0.5227 GB, free: 15.89 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8609005969483405]