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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1359/0.1359, allocations: 15.29 MB / 31.6 MB, free: 4.141 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 95.91 kB / 36.59 MB, free: 3.18 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 194.1 kB / 41.7 MB, free: 7.137 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 269.6 MB, free: 6.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1393/0.1393, allocations: 23.35 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 115.8 kB / 479.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 59.36 MB / 0.5263 GB, free: 8.098 MB / 382.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.08429/0.4044, allocations: 74.42 MB / 0.5989 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02166/0.426, allocations: 18.84 MB / 0.6173 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.4268, allocations: 19.88 kB / 0.6173 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.4278, allocations: 230.3 kB / 0.6176 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.4345, allocations: 2.364 MB / 0.6199 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.4397, allocations: 1.608 MB / 0.6214 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.4417, allocations: 1.192 MB / 0.6226 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.4423, allocations: 347.6 kB / 0.6229 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4449, allocations: 1.061 MB / 0.624 GB, free: 256 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.4457, allocations: 458.3 kB / 0.6244 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.4459, allocations: 44 kB / 0.6245 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.4507, allocations: 1.704 MB / 0.6261 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.4509, allocations: 143.5 kB / 0.6263 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.4514, allocations: 278.7 kB / 0.6265 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005243/0.4567, allocations: 2.187 MB / 0.6287 GB, free: 11.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4567, allocations: 4 kB / 0.6287 GB, free: 11.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4567, allocations: 0 / 0.6287 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.4567, allocations: 0 / 0.6287 GB, free: 11.44 MB / 478.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.002235/0.459, allocations: 1.055 MB / 0.6297 GB, free: 10.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.459, allocations: 8.031 kB / 0.6297 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.4592, allocations: 59.67 kB / 0.6298 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.4599, allocations: 418.5 kB / 0.6302 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.4599, allocations: 36.94 kB / 0.6302 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.46, allocations: 36 kB / 0.6302 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.4609, allocations: 440.7 kB / 0.6306 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4609, allocations: 4 kB / 0.6307 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.4609, allocations: 12 kB / 0.6307 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.461, allocations: 12 kB / 0.6307 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.4618, allocations: 383.7 kB / 0.631 GB, free: 8.891 MB / 478.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.002948/0.4647, allocations: 2.197 MB / 0.6332 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.4654, allocations: 363.4 kB / 0.6335 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.4658, allocations: 185.6 kB / 0.6337 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.4672, allocations: 1.01 MB / 0.6347 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.4676, allocations: 209.5 kB / 0.6349 GB, free: 4.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.4676, allocations: 0 / 0.6349 GB, free: 4.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001618/0.4692, allocations: 0.713 MB / 0.6356 GB, free: 3.832 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4693, allocations: 59.41 kB / 0.6356 GB, free: 3.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.4698, allocations: 401.5 kB / 0.636 GB, free: 3.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4698, allocations: 29.7 kB / 0.6361 GB, free: 3.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.47, allocations: 232.4 kB / 0.6363 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4701, allocations: 130.9 kB / 0.6364 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4703, allocations: 82.08 kB / 0.6365 GB, free: 2.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4704, allocations: 358.8 kB / 0.6368 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.4708, allocations: 144.8 kB / 0.637 GB, free: 2.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4712, allocations: 245.6 kB / 0.6372 GB, free: 2.109 MB / 478.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.002331/0.4735, allocations: 0.9442 MB / 0.6381 GB, free: 1.113 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4735, allocations: 0 / 0.6381 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001082/0.4746, allocations: 0.5255 MB / 0.6386 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4747, allocations: 11.94 kB / 0.6386 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4747, allocations: 4 kB / 0.6386 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.4749, allocations: 77.89 kB / 0.6387 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.4753, allocations: 71.89 kB / 0.6388 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007955/0.4761, allocations: 1.12 MB / 0.6399 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.4765, allocations: 51.81 kB / 0.6399 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.4766, allocations: 20 kB / 0.64 GB, free: 15.16 MB / 494.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.0002374/0.4768, allocations: 173.7 kB / 0.6401 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.4769, allocations: 47.66 kB / 0.6402 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.4779, allocations: 481 kB / 0.6406 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4779, allocations: 4.031 kB / 0.6406 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4779, allocations: 4 kB / 0.6406 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.4781, allocations: 152.8 kB / 0.6408 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/0.4782, allocations: 8 kB / 0.6408 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4785, allocations: 23.86 kB / 0.6408 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.4785, allocations: 27.95 kB / 0.6408 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001152/0.4797, allocations: 0.4982 MB / 0.6413 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001069/0.4808, allocations: 0.6943 MB / 0.642 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002829/0.4811, allocations: 147.9 kB / 0.6421 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.4814, allocations: 283.1 kB / 0.6424 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Backend: time 4e-07/0.4814, allocations: 4 kB / 0.6424 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.4841, allocations: 1.109 MB / 0.6435 GB, free: 11.45 MB / 494.1 MB Notification: Performance of SimCode: time 0.001951/0.4861, allocations: 1.458 MB / 0.6449 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Templates: time 0.02693/0.513, allocations: 18.42 MB / 0.6629 GB, free: 7.566 MB / 0.4981 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile (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)