Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.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.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1083/0.1083, allocations: 15.29 MB / 31.6 MB, free: 4.137 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.001096/0.001096, allocations: 109.4 kB / 36.6 MB, free: 3.152 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.001451/0.001452, allocations: 201.1 kB / 41.71 MB, free: 7.105 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.5/1.5, allocations: 222.9 MB / 269.6 MB, free: 6.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1565/0.1565, allocations: 23.36 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.738e-05, allocations: 2.281 kB / 479.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation): time 0.4872/0.4872, allocations: 180.4 MB / 0.6446 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4545/0.9417, allocations: 82.44 MB / 0.7251 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007736/0.9495, allocations: 72.5 kB / 0.7251 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004724/0.9543, allocations: 0.9629 MB / 0.7261 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02866/0.983, allocations: 6.278 MB / 0.7322 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.03332/1.017, allocations: 8.162 MB / 0.7402 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01373/1.03, allocations: 6.296 MB / 0.7463 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004077/1.034, allocations: 1.826 MB / 0.7481 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01658/1.051, allocations: 4.987 MB / 0.753 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/1.057, allocations: 1.921 MB / 0.7549 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008202/1.058, allocations: 211.6 kB / 0.7551 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/1.078, allocations: 5.202 MB / 0.7601 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.006821/1.085, allocations: 4.365 MB / 0.7644 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002393/1.087, allocations: 2.583 MB / 0.7669 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/1.089, allocations: 468.4 kB / 0.7674 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0008699/1.089, allocations: 150.5 kB / 0.7675 GB, free: 12.21 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 447 (421) * Number of variables: 447 (408) Notification: Performance of Bindings: time 0.01349/1.103, allocations: 10.98 MB / 0.7782 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.001566/1.105, allocations: 1.059 MB / 0.7793 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.007866/1.112, allocations: 5.865 MB / 0.785 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0007812/1.113, allocations: 471.4 kB / 0.7854 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of Alias: time 0.01225/1.125, allocations: 8.792 MB / 0.794 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0008034/1.126, allocations: 359.5 kB / 0.7944 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Events: time 0.001315/1.128, allocations: 1.064 MB / 0.7954 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Detect States: time 0.00171/1.129, allocations: 1.472 MB / 0.7968 GB, free: 13.97 MB / 0.545 GB Notification: Performance of Partitioning: time 0.002348/1.132, allocations: 1.782 MB / 0.7986 GB, free: 11.98 MB / 0.545 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {pulmonaryVeins.q_in[1].m_flow, pulmonaryVeins.q_in[2].m_flow}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: pulmonaryVeins.q_in.m_flow. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $DER.pulmonaryVeins.enthalpy = pulmonaryVeins.q_in.m_flow * {if $SEV_39 then pulmonaryVeinsInertia.q_out.h_outflow else pulmonaryVeins.q_in[1].h_outflow, if $SEV_40 then mitralValve.q_in.h_outflow else pulmonaryVeins.q_in[2].h_outflow} ($RES_SIM_347)