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.1079/0.1079, allocations: 11.16 MB / 30.51 MB, free: 4.93 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.001858/0.001858, allocations: 96.78 kB / 38.14 MB, free: 7.207 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.002104/0.002104, allocations: 160.5 kB / 45.86 MB, free: 10.6 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.611/1.611, allocations: 177.1 MB / 230.6 MB, free: 6.02 MB / 202.7 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.1656/0.1656, allocations: 17.63 MB / 309.1 MB, free: 2.957 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 2.084e-06/2.084e-06, allocations: 0 / 390.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.394e-05, allocations: 2.312 kB / 390.4 MB, free: 1.543 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_4element): time 0.3385/0.3386, allocations: 83.05 MB / 473.5 MB, free: 50.33 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02114/0.3597, allocations: 22.5 MB / 496 MB, free: 46.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008784/0.3606, allocations: 19.62 kB / 496 MB, free: 46.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.3614, allocations: 270.5 kB / 496.3 MB, free: 46.51 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008709/0.3701, allocations: 2.567 MB / 498.8 MB, free: 45.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.3765, allocations: 2.174 MB / 0.4892 GB, free: 43.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.3788, allocations: 1.36 MB / 0.4906 GB, free: 43.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.3795, allocations: 399.6 kB / 0.491 GB, free: 42.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.3822, allocations: 1.323 MB / 0.4923 GB, free: 42.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.3832, allocations: 0.4993 MB / 0.4927 GB, free: 42.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.736e-05/0.3833, allocations: 53.34 kB / 0.4928 GB, free: 42.17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005124/0.3884, allocations: 1.615 MB / 0.4944 GB, free: 41.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.3886, allocations: 173.4 kB / 0.4945 GB, free: 41.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.3889, allocations: 249.6 kB / 0.4948 GB, free: 41.4 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00637/0.3953, allocations: 2.463 MB / 0.4972 GB, free: 39.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3953, allocations: 0 / 0.4972 GB, free: 39.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3953, allocations: 4 kB / 0.4972 GB, free: 39.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3953, allocations: 0 / 0.4972 GB, free: 39.4 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002331/0.3976, allocations: 1.167 MB / 0.4983 GB, free: 38.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3977, allocations: 12.73 kB / 0.4983 GB, free: 38.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3979, allocations: 92.28 kB / 0.4984 GB, free: 38.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.3985, allocations: 382.4 kB / 0.4988 GB, free: 37.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.3985, allocations: 33.61 kB / 0.4988 GB, free: 37.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.3986, allocations: 48.69 kB / 0.4989 GB, free: 37.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/0.3995, allocations: 0.5556 MB / 0.4994 GB, free: 37.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3996, allocations: 0 / 0.4994 GB, free: 37.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.3996, allocations: 16.7 kB / 0.4994 GB, free: 37.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3996, allocations: 12 kB / 0.4994 GB, free: 37.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.4005, allocations: 466 kB / 0.4999 GB, free: 36.84 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.002764/0.4033, allocations: 1.824 MB / 0.5017 GB, free: 35.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.4039, allocations: 372.9 kB / 0.502 GB, free: 34.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.4043, allocations: 222.5 kB / 0.5022 GB, free: 34.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.4056, allocations: 0.7943 MB / 0.503 GB, free: 33.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.406, allocations: 273.2 kB / 0.5033 GB, free: 33.68 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001898/0.4062, allocations: 47.25 kB / 0.5033 GB, free: 33.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.4062, allocations: 0 / 0.5033 GB, free: 33.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.001613/0.4079, allocations: 0.6242 MB / 0.5039 GB, free: 33.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4079, allocations: 60.19 kB / 0.504 GB, free: 33.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.4084, allocations: 453.9 kB / 0.5044 GB, free: 32.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4085, allocations: 37.7 kB / 0.5044 GB, free: 32.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.4087, allocations: 311.4 kB / 0.5047 GB, free: 32.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.4089, allocations: 152.9 kB / 0.5049 GB, free: 32.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4091, allocations: 121.3 kB / 0.505 GB, free: 32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4093, allocations: 0.5406 MB / 0.5055 GB, free: 31.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.4096, allocations: 150.2 kB / 0.5057 GB, free: 31.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.4101, allocations: 286 kB / 0.5059 GB, free: 31.04 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.003799/0.4139, allocations: 1.13 MB / 0.507 GB, free: 30.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.4139, allocations: 0 / 0.507 GB, free: 30.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001237/0.4151, allocations: 0.5679 MB / 0.5076 GB, free: 29.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4151, allocations: 8.312 kB / 0.5076 GB, free: 29.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4152, allocations: 4.797 kB / 0.5076 GB, free: 29.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.4155, allocations: 87.97 kB / 0.5077 GB, free: 29.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.4159, allocations: 98.78 kB / 0.5078 GB, free: 29.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008003/0.4167, allocations: 1.666 MB / 0.5094 GB, free: 27.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.4171, allocations: 18.16 kB / 0.5094 GB, free: 27.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.4172, allocations: 23.42 kB / 0.5095 GB, free: 27.59 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.0003241/0.4175, allocations: 216 kB / 0.5097 GB, free: 27.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4176, allocations: 60.36 kB / 0.5097 GB, free: 27.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.4188, allocations: 0.5664 MB / 0.5103 GB, free: 26.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4188, allocations: 4.703 kB / 0.5103 GB, free: 26.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4188, allocations: 0 / 0.5103 GB, free: 26.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4188, allocations: 2.062 kB / 0.5103 GB, free: 26.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.4208, allocations: 1.056 MB / 0.5113 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4208, allocations: 0.75 kB / 0.5113 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4211, allocations: 63.55 kB / 0.5114 GB, free: 25.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.4213, allocations: 82.3 kB / 0.5115 GB, free: 25.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.4214, allocations: 11.09 kB / 0.5115 GB, free: 25.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006106/0.422, allocations: 1.658 MB / 0.5131 GB, free: 23.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.422, allocations: 0 / 0.5131 GB, free: 23.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4231, allocations: 0.819 MB / 0.5139 GB, free: 23.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.4233, allocations: 83.8 kB / 0.514 GB, free: 23.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.4234, allocations: 8.844 kB / 0.514 GB, free: 23.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4236, allocations: 18.47 kB / 0.514 GB, free: 23.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4238, allocations: 38 kB / 0.514 GB, free: 23.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.4238, allocations: 18.58 kB / 0.514 GB, free: 23.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.4241, allocations: 304.2 kB / 0.5143 GB, free: 22.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4241, allocations: 0 / 0.5143 GB, free: 22.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001671/0.4258, allocations: 0.5819 MB / 0.5149 GB, free: 22.25 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.00162/0.4274, allocations: 0.9424 MB / 0.5158 GB, free: 21.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009691/0.4283, allocations: 437.5 kB / 0.5162 GB, free: 21.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4283, allocations: 0 / 0.5162 GB, free: 21.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.4288, allocations: 222.2 kB / 0.5165 GB, free: 20.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4298, allocations: 227.4 kB / 0.5167 GB, free: 20.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4315, allocations: 0.9741 MB / 0.5176 GB, free: 19.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.4317, allocations: 240.1 kB / 0.5178 GB, free: 19.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.432, allocations: 94.72 kB / 0.5179 GB, free: 19.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4321, allocations: 56.38 kB / 0.518 GB, free: 19.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4321, allocations: 3.938 kB / 0.518 GB, free: 19.41 MB / 394.7 MB Notification: Performance of Templates: time 0.02652/0.4586, allocations: 19.43 MB / 0.537 GB, free: 2.562 MB / 394.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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.25249718001578]