Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.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.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.0782/0.0782, allocations: 15.29 MB / 31.59 MB, free: 4.117 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.00107/0.00107, allocations: 105.3 kB / 36.59 MB, free: 3.172 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.001185/0.001185, 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.392/1.392, 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.1409/0.1409, allocations: 23.34 MB / 347.2 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 115.8 kB / 479.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3235, allocations: 59.35 MB / 0.5265 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.1315/0.4551, allocations: 74.69 MB / 0.5994 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04564/0.5008, allocations: 26.71 MB / 0.6255 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.5026, allocations: 35.81 kB / 0.6255 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.5038, allocations: 393 kB / 0.6259 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.5116, allocations: 2.821 MB / 0.6286 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007546/0.5192, allocations: 2.878 MB / 0.6315 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.5224, allocations: 2.669 MB / 0.6341 GB, free: 5.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.5235, allocations: 0.7452 MB / 0.6348 GB, free: 5.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.5273, allocations: 1.556 MB / 0.6363 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.5297, allocations: 0.9495 MB / 0.6372 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.5299, allocations: 88 kB / 0.6373 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00887/0.5388, allocations: 2.351 MB / 0.6396 GB, free: 104 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.5394, allocations: 291.2 kB / 0.6399 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.5405, allocations: 0.591 MB / 0.6405 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009902/0.5505, allocations: 3.329 MB / 0.6437 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5505, allocations: 0 / 0.6437 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.5505, allocations: 0 / 0.6437 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.5505, allocations: 3.938 kB / 0.6437 GB, free: 11.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004674/0.5552, allocations: 1.628 MB / 0.6453 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/0.5553, allocations: 12.03 kB / 0.6453 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.5557, allocations: 106.7 kB / 0.6454 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.5575, allocations: 0.6935 MB / 0.6461 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/0.5576, allocations: 58 kB / 0.6462 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.5578, allocations: 75.91 kB / 0.6462 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.56, allocations: 0.8766 MB / 0.6471 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.56, allocations: 4 kB / 0.6471 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.5602, allocations: 31.94 kB / 0.6471 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.5602, allocations: 20 kB / 0.6471 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.5625, allocations: 0.7467 MB / 0.6479 GB, free: 7.48 MB / 494.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.007151/0.5697, allocations: 3.657 MB / 0.6514 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5716, allocations: 0.6539 MB / 0.6521 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.573, allocations: 0.4904 MB / 0.6526 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003211/0.5762, allocations: 2.148 MB / 0.6547 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.5763, allocations: 39 kB / 0.6547 GB, free: 12 kB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.5763, allocations: 0 / 0.6547 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=53): time 0.002549/0.5788, allocations: 1.31 MB / 0.656 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.5789, allocations: 55.84 kB / 0.656 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.5799, allocations: 0.8137 MB / 0.6568 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.5799, allocations: 37.7 kB / 0.6569 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.5803, allocations: 455.3 kB / 0.6573 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5804, allocations: 197.2 kB / 0.6575 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.5807, allocations: 158.5 kB / 0.6576 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5809, allocations: 342 kB / 0.658 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.5815, allocations: 313.7 kB / 0.6583 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.5823, allocations: 0.5102 MB / 0.6588 GB, free: 11.62 MB / 0.4981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PulmonaryArteries.mass = PulmonaryArteries.tm_start (PulmonaryArteries.m_start[1] + PulmonaryArteries.massOffset = PulmonaryArteries.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PulmonaryVeins.mass = PulmonaryVeins.tm_start (PulmonaryVeins.m_start[1] + PulmonaryVeins.massOffset = PulmonaryVeins.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: SystemicVeins.mass = SystemicVeins.tm_start (SystemicVeins.m_start[1] + SystemicVeins.massOffset = SystemicVeins.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: SystemicArteries.mass = SystemicArteries.tm_start (SystemicArteries.m_start[1] + SystemicArteries.massOffset = SystemicArteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.5892, allocations: 3.105 MB / 0.6618 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5892, allocations: 4 kB / 0.6618 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002184/0.5914, allocations: 1.074 MB / 0.6628 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5914, allocations: 8 kB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.5914, allocations: 11.98 kB / 0.6629 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.5919, allocations: 183.4 kB / 0.663 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.5926, allocations: 175.7 kB / 0.6632 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.5941, allocations: 2.237 MB / 0.6654 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/0.595, allocations: 99.05 kB / 0.6655 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.595, allocations: 39.98 kB / 0.6655 GB, free: 4.41 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: PulmonaryArteries.mass = PulmonaryArteries.tm_start PulmonaryVeins.mass = PulmonaryVeins.tm_start SystemicVeins.mass = SystemicVeins.tm_start SystemicArteries.mass = SystemicArteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.5954, allocations: 240.1 kB / 0.6657 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.5956, allocations: 90.88 kB / 0.6658 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.5973, allocations: 0.8235 MB / 0.6666 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5973, allocations: 3.938 kB / 0.6666 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5973, allocations: 4 kB / 0.6666 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.5977, allocations: 243.7 kB / 0.6669 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.5978, allocations: 12 kB / 0.6669 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.5984, allocations: 23.97 kB / 0.6669 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5985, allocations: 44.5 kB / 0.667 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002113/0.6006, allocations: 0.8609 MB / 0.6678 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001882/0.6025, allocations: 1.212 MB / 0.669 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005056/0.603, allocations: 296.3 kB / 0.6693 GB, free: 496 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006816/0.6037, allocations: 0.5498 MB / 0.6698 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of Backend: time 4.71e-07/0.6037, allocations: 0 / 0.6698 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.6077, allocations: 1.674 MB / 0.6714 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003531/0.6113, allocations: 2.552 MB / 0.6739 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.04357/0.6548, allocations: 30.86 MB / 0.7041 GB, free: 12.96 MB / 0.545 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1)