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.08575/0.08575, allocations: 15.29 MB / 31.59 MB, free: 4.109 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.001039/0.001039, allocations: 106.5 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.001216/0.001216, allocations: 193.1 kB / 41.7 MB, free: 7.125 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.406/1.406, allocations: 222.9 MB / 269.6 MB, free: 6.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.136/0.136, allocations: 23.35 MB / 347.3 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 111.8 kB / 479.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 59.35 MB / 0.5263 GB, free: 8.086 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.08526/0.3824, allocations: 74.27 MB / 0.5988 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4034, allocations: 18.84 MB / 0.6172 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009212/0.4043, allocations: 11.94 kB / 0.6172 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.4052, allocations: 238.3 kB / 0.6174 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00717/0.4124, allocations: 2.333 MB / 0.6197 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004415/0.4169, allocations: 1.608 MB / 0.6213 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.4184, allocations: 1.208 MB / 0.6224 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000606/0.419, allocations: 355.6 kB / 0.6228 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.4214, allocations: 1.073 MB / 0.6238 GB, free: 388 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/0.4222, allocations: 442.2 kB / 0.6243 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.4224, allocations: 44 kB / 0.6243 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.4267, allocations: 1.708 MB / 0.626 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.4269, allocations: 147.5 kB / 0.6261 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.4273, allocations: 278.8 kB / 0.6264 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.4325, allocations: 2.188 MB / 0.6285 GB, free: 11.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4326, allocations: 0 / 0.6285 GB, free: 11.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4326, allocations: 0 / 0.6285 GB, free: 11.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.4326, allocations: 0 / 0.6285 GB, free: 11.58 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.002231/0.4348, allocations: 1.033 MB / 0.6295 GB, free: 10.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4349, allocations: 12.03 kB / 0.6295 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.435, allocations: 47.44 kB / 0.6296 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.4357, allocations: 402.4 kB / 0.63 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.4357, allocations: 32.94 kB / 0.63 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.4358, allocations: 39.98 kB / 0.63 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.4366, allocations: 444.6 kB / 0.6305 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4366, allocations: 0 / 0.6305 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.4367, allocations: 19.98 kB / 0.6305 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4367, allocations: 11.94 kB / 0.6305 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.4375, allocations: 379.7 kB / 0.6308 GB, free: 9.074 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.002901/0.4404, allocations: 2.2 MB / 0.633 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.441, allocations: 359.6 kB / 0.6333 GB, free: 6.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.4415, allocations: 185.6 kB / 0.6335 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.4428, allocations: 1.009 MB / 0.6345 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.4432, allocations: 205.5 kB / 0.6347 GB, free: 4.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.4432, allocations: 4 kB / 0.6347 GB, free: 4.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001466/0.4447, allocations: 0.7166 MB / 0.6354 GB, free: 4.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4447, allocations: 59.41 kB / 0.6355 GB, free: 3.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.4452, allocations: 389.6 kB / 0.6358 GB, free: 3.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4453, allocations: 33.7 kB / 0.6359 GB, free: 3.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4455, allocations: 239.9 kB / 0.6361 GB, free: 3.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.4456, allocations: 114.4 kB / 0.6362 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.4458, allocations: 90.02 kB / 0.6363 GB, free: 3.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4459, allocations: 346.8 kB / 0.6366 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.4462, allocations: 152.8 kB / 0.6368 GB, free: 2.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.4466, allocations: 233.7 kB / 0.637 GB, free: 2.312 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.002167/0.4488, allocations: 0.952 MB / 0.6379 GB, free: 1.309 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4488, allocations: 4 kB / 0.6379 GB, free: 1.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001028/0.4498, allocations: 0.5136 MB / 0.6384 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4498, allocations: 16.3 kB / 0.6384 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4499, allocations: 0 / 0.6384 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.4501, allocations: 77.67 kB / 0.6385 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.4504, allocations: 79.83 kB / 0.6386 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/0.4512, allocations: 1.124 MB / 0.6397 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.4515, allocations: 51.52 kB / 0.6397 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.4516, allocations: 16 kB / 0.6397 GB, free: 15.36 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.0001881/0.4518, allocations: 165.9 kB / 0.6399 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.4519, allocations: 51.38 kB / 0.64 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000979/0.4528, allocations: 477 kB / 0.6404 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4529, allocations: 8.016 kB / 0.6404 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4529, allocations: 4 kB / 0.6404 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4531, allocations: 152.5 kB / 0.6406 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.4531, allocations: 11.94 kB / 0.6406 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4534, allocations: 15.92 kB / 0.6406 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.4535, allocations: 27.95 kB / 0.6406 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00107/0.4545, allocations: 0.4903 MB / 0.6411 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001026/0.4556, allocations: 0.7057 MB / 0.6418 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002818/0.4559, allocations: 143.9 kB / 0.6419 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.4562, allocations: 279.2 kB / 0.6422 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Backend: time 5.01e-07/0.4562, allocations: 0 / 0.6422 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.4587, allocations: 1.103 MB / 0.6433 GB, free: 11.66 MB / 494.1 MB Notification: Performance of SimCode: time 0.002014/0.4607, allocations: 1.447 MB / 0.6447 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Templates: time 0.02639/0.4872, allocations: 18.42 MB / 0.6627 GB, free: 7.789 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)