Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09089/0.09089, allocations: 15.28 MB / 31.59 MB, free: 4.125 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.00109/0.00109, allocations: 97.05 kB / 36.59 MB, free: 3.188 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.001195/0.001195, allocations: 190.5 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.393/1.393, 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.1301/0.1301, allocations: 23.34 MB / 347.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 111.8 kB / 479.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 59.35 MB / 0.5263 GB, free: 8.094 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596: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:596:7-596: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.MinimalCirculation): time 0.08616/0.3868, allocations: 75.51 MB / 0.6 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.4068, allocations: 15.34 MB / 0.615 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.4082, allocations: 19.88 kB / 0.615 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4092, allocations: 250.2 kB / 0.6152 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.414, allocations: 1.557 MB / 0.6168 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006151/0.4202, allocations: 2.14 MB / 0.6188 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.4221, allocations: 1.513 MB / 0.6203 GB, free: 3.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.4228, allocations: 427.5 kB / 0.6207 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.4253, allocations: 1.159 MB / 0.6219 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000957/0.4262, allocations: 0.5526 MB / 0.6224 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.4264, allocations: 52 kB / 0.6224 GB, free: 1.789 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.4302, allocations: 1.478 MB / 0.6239 GB, free: 316 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.4304, allocations: 171.5 kB / 0.6241 GB, free: 144 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.4309, allocations: 346.4 kB / 0.6244 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.4353, allocations: 2.072 MB / 0.6264 GB, free: 13.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4354, allocations: 0 / 0.6264 GB, free: 13.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4354, allocations: 0 / 0.6264 GB, free: 13.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.4354, allocations: 0 / 0.6264 GB, free: 13.72 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00227/0.4377, allocations: 1.136 MB / 0.6275 GB, free: 12.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4377, allocations: 15.97 kB / 0.6275 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.4379, allocations: 67.23 kB / 0.6276 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.4386, allocations: 472.4 kB / 0.628 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.4387, allocations: 40.94 kB / 0.6281 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.4388, allocations: 43.98 kB / 0.6281 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.4398, allocations: 0.5577 MB / 0.6287 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4398, allocations: 3.938 kB / 0.6287 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.4398, allocations: 23.92 kB / 0.6287 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4399, allocations: 12 kB / 0.6287 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4409, allocations: 495.6 kB / 0.6292 GB, free: 10.75 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.00304/0.444, allocations: 2.247 MB / 0.6314 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.4449, allocations: 0.531 MB / 0.6319 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.4454, allocations: 252.7 kB / 0.6321 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/0.4472, allocations: 1.402 MB / 0.6335 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.4477, allocations: 259.9 kB / 0.6338 GB, free: 5.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.214e-06/0.4477, allocations: 0 / 0.6338 GB, free: 5.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001609/0.4493, allocations: 0.7178 MB / 0.6345 GB, free: 4.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.4494, allocations: 63.39 kB / 0.6345 GB, free: 4.891 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.4499, allocations: 465.8 kB / 0.635 GB, free: 4.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.45, allocations: 37.64 kB / 0.635 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.4502, allocations: 283.7 kB / 0.6353 GB, free: 4.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4503, allocations: 134.1 kB / 0.6354 GB, free: 3.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.4505, allocations: 114.1 kB / 0.6355 GB, free: 3.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4506, allocations: 362.8 kB / 0.6358 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.4511, allocations: 209 kB / 0.636 GB, free: 3.281 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.4517, allocations: 344.4 kB / 0.6364 GB, free: 2.895 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.4555, allocations: 1.695 MB / 0.638 GB, free: 1.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4555, allocations: 0 / 0.638 GB, free: 1.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001401/0.457, allocations: 0.698 MB / 0.6387 GB, free: 392 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.457, allocations: 38.19 kB / 0.6388 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.457, allocations: 8 kB / 0.6388 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.4572, allocations: 36.84 kB / 0.6388 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.4577, allocations: 115.8 kB / 0.6389 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004018/0.4581, allocations: 0.5601 MB / 0.6395 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.4587, allocations: 71.5 kB / 0.6395 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.4587, allocations: 23.98 kB / 0.6395 GB, free: 15.5 MB / 494.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0002307/0.459, allocations: 189.6 kB / 0.6397 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.4591, allocations: 43.44 kB / 0.6398 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4603, allocations: 0.5531 MB / 0.6403 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4603, allocations: 3.984 kB / 0.6403 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4603, allocations: 0 / 0.6403 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4605, allocations: 176.4 kB / 0.6405 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.4606, allocations: 7.984 kB / 0.6405 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.461, allocations: 23.98 kB / 0.6405 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4611, allocations: 39.94 kB / 0.6405 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001442/0.4626, allocations: 0.583 MB / 0.6411 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00148/0.4641, allocations: 0.8996 MB / 0.642 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004064/0.4645, allocations: 211.9 kB / 0.6422 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.4648, allocations: 327.1 kB / 0.6425 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Backend: time 1.513e-06/0.4648, allocations: 0 / 0.6425 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.4674, allocations: 1.129 MB / 0.6436 GB, free: 11.25 MB / 494.1 MB Notification: Performance of SimCode: time 0.00221/0.4697, allocations: 1.628 MB / 0.6452 GB, free: 9.57 MB / 494.1 MB Notification: Performance of Templates: time 0.02669/0.4964, allocations: 17.95 MB / 0.6627 GB, free: 7.688 MB / 0.4981 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1)