Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.SimpleRespiration.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.SimpleRespiration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.SimpleRespiration") translateModel(Physiolibrary.Fluid.Examples.SimpleRespiration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.SimpleRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08957/0.08957, allocations: 15.27 MB / 30.91 MB, free: 4.121 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.001365/0.001365, allocations: 109.9 kB / 35.92 MB, free: 3.199 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.001308/0.001308, allocations: 195.3 kB / 41.02 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.411/1.411, allocations: 222.9 MB / 268.9 MB, free: 6.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1517/0.1517, allocations: 23.35 MB / 346.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 107.8 kB / 480 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 59.36 MB / 0.5268 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.SimpleRespiration): time 0.07645/0.4032, allocations: 76.1 MB / 0.6011 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0355/0.4387, allocations: 32.17 MB / 0.6325 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.4411, allocations: 23.88 kB / 0.6325 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.444, allocations: 0.7787 MB / 0.6333 GB, free: 6.543 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.4544, allocations: 3.58 MB / 0.6368 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.4665, allocations: 4.095 MB / 0.6408 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004046/0.4706, allocations: 2.993 MB / 0.6437 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.473, allocations: 1.615 MB / 0.6453 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009256/0.4823, allocations: 4.509 MB / 0.6497 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00637/0.4887, allocations: 2.205 MB / 0.6518 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006699/0.4894, allocations: 140 kB / 0.652 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.5057, allocations: 5.03 MB / 0.6569 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.5084, allocations: 2.284 MB / 0.6591 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.5129, allocations: 2.733 MB / 0.6618 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02219/0.5351, allocations: 11.05 MB / 0.6726 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5352, allocations: 0 / 0.6726 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5352, allocations: 0 / 0.6726 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002783/0.5355, allocations: 0 / 0.6726 GB, free: 14.26 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 10.88/11.41, allocations: 1.527 GB / 2.2 GB, free: 90.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/11.41, allocations: 8.031 kB / 2.2 GB, free: 90.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/11.42, allocations: 0.7757 MB / 2.2 GB, free: 89.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/11.43, allocations: 19.08 MB / 2.219 GB, free: 70.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/11.43, allocations: 86.22 kB / 2.219 GB, free: 70.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008917/11.43, allocations: 115.9 kB / 2.219 GB, free: 70.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/11.44, allocations: 7.658 MB / 2.227 GB, free: 63.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/11.44, allocations: 4 kB / 2.227 GB, free: 63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007154/11.44, allocations: 44 kB / 2.227 GB, free: 62.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/11.45, allocations: 78.02 kB / 2.227 GB, free: 62.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/11.46, allocations: 10.82 MB / 2.237 GB, free: 52.05 MB / 0.5919 GB 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.04834/11.51, allocations: 28.96 MB / 2.266 GB, free: 23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/11.52, allocations: 5.072 MB / 2.271 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006171/11.52, allocations: 4.379 MB / 2.275 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/11.54, allocations: 8.576 MB / 2.283 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/11.54, allocations: 47.56 kB / 2.283 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002146/11.54, allocations: 431.3 kB / 2.284 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 4.959e-06/11.54, allocations: 0 / 2.284 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.262/11.8, allocations: 14.71 MB / 2.298 GB, free: 197 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/11.8, allocations: 63.28 kB / 2.298 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0279/11.83, allocations: 31.27 MB / 2.329 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/11.83, allocations: 41.7 kB / 2.329 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/11.83, allocations: 1.633 MB / 2.33 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/11.83, allocations: 0.5553 MB / 2.331 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00774/11.84, allocations: 4.259 MB / 2.335 GB, free: 180 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/11.84, allocations: 309.1 kB / 2.335 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02159/11.86, allocations: 28.03 MB / 2.363 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02359/11.89, allocations: 29.22 MB / 2.391 GB, free: 122.3 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: chest.mass = chest.tm_start (chest.m_start[1] + chest.massOffset = chest.tm_start) Error: No system for the symbolic initialization was generated