Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.0828/0.0828, 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.00103/0.00103, allocations: 108.4 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.001151/0.001151, 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.41/1.41, allocations: 222.9 MB / 269.6 MB, free: 6.914 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.14/0.14, allocations: 23.35 MB / 347.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 115.8 kB / 479.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3133, allocations: 59.35 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_2element): time 0.07452/0.3878, allocations: 68.04 MB / 0.5927 GB, free: 404 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.4056, allocations: 15.49 MB / 0.6078 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.4063, allocations: 11.94 kB / 0.6078 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.4069, allocations: 202.5 kB / 0.608 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.4126, allocations: 2.224 MB / 0.6102 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.4155, allocations: 1.138 MB / 0.6113 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.4167, allocations: 1.094 MB / 0.6124 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.4171, allocations: 334.4 kB / 0.6127 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.4191, allocations: 1.026 MB / 0.6137 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.4196, allocations: 410.4 kB / 0.6141 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.4197, allocations: 36 kB / 0.6141 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.4235, allocations: 1.568 MB / 0.6157 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.4237, allocations: 123.6 kB / 0.6158 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.4239, allocations: 262.8 kB / 0.616 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.4274, allocations: 2.021 MB / 0.618 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4274, allocations: 0 / 0.618 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4274, allocations: 0 / 0.618 GB, free: 6.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4274, allocations: 0 / 0.618 GB, free: 6.367 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001622/0.4291, allocations: 0.967 MB / 0.6189 GB, free: 5.352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.4291, allocations: 8.031 kB / 0.619 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.4293, allocations: 51.38 kB / 0.619 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.4298, allocations: 393.7 kB / 0.6194 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4299, allocations: 20.66 kB / 0.6194 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.43, allocations: 36 kB / 0.6194 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.4306, allocations: 399.6 kB / 0.6198 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4307, allocations: 0 / 0.6198 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.4307, allocations: 12 kB / 0.6198 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.4307, allocations: 8 kB / 0.6198 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.4314, allocations: 342.2 kB / 0.6202 GB, free: 4.047 MB / 462.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.002458/0.4338, allocations: 2.038 MB / 0.6221 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.4344, allocations: 326.4 kB / 0.6225 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4347, allocations: 156.8 kB / 0.6226 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.4359, allocations: 0.9618 MB / 0.6235 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.4363, allocations: 191.2 kB / 0.6237 GB, free: 48 kB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.4363, allocations: 4 kB / 0.6237 GB, free: 44 kB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001159/0.4374, allocations: 0.5309 MB / 0.6243 GB, free: 15.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4375, allocations: 59.39 kB / 0.6243 GB, free: 15.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.4379, allocations: 377.6 kB / 0.6247 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4379, allocations: 29.7 kB / 0.6247 GB, free: 15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4381, allocations: 232 kB / 0.6249 GB, free: 14.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.4382, allocations: 106.5 kB / 0.625 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4383, allocations: 78.12 kB / 0.6251 GB, free: 14.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4384, allocations: 346.8 kB / 0.6254 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.4387, allocations: 136.8 kB / 0.6256 GB, free: 14.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.4391, allocations: 221.7 kB / 0.6258 GB, free: 13.85 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.002015/0.4411, allocations: 0.8769 MB / 0.6266 GB, free: 12.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4411, allocations: 4 kB / 0.6266 GB, free: 12.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008922/0.442, allocations: 465.8 kB / 0.6271 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.442, allocations: 8.312 kB / 0.6271 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.442, allocations: 4 kB / 0.6271 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.4422, allocations: 36.83 kB / 0.6271 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.4425, allocations: 75.89 kB / 0.6272 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/0.4429, allocations: 0.5446 MB / 0.6277 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4433, allocations: 51.67 kB / 0.6278 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.4433, allocations: 19.92 kB / 0.6278 GB, free: 11.69 MB / 478.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 (47): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.4435, allocations: 170.7 kB / 0.628 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.4436, allocations: 35.53 kB / 0.628 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.4444, allocations: 412.8 kB / 0.6284 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4445, allocations: 0 / 0.6284 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4445, allocations: 7.938 kB / 0.6284 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4446, allocations: 148.5 kB / 0.6285 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.4447, allocations: 7.984 kB / 0.6285 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.445, allocations: 19.98 kB / 0.6286 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.445, allocations: 19.97 kB / 0.6286 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009116/0.446, allocations: 433.4 kB / 0.629 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000946/0.4469, allocations: 0.6442 MB / 0.6296 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002586/0.4472, allocations: 140.1 kB / 0.6298 GB, free: 9.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.4475, allocations: 271.2 kB / 0.63 GB, free: 9.344 MB / 478.1 MB Notification: Performance of Backend: time 4.01e-07/0.4475, allocations: 0 / 0.63 GB, free: 9.344 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.4497, allocations: 1.017 MB / 0.631 GB, free: 8.32 MB / 478.1 MB Notification: Performance of SimCode: time 0.001773/0.4515, allocations: 1.365 MB / 0.6323 GB, free: 6.902 MB / 478.1 MB Notification: Performance of Templates: time 0.02347/0.475, allocations: 17.07 MB / 0.649 GB, free: 5.883 MB / 494.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1)