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.08742/0.08742, allocations: 15.29 MB / 31.59 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.001074/0.001074, allocations: 99.59 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.001405/0.001405, allocations: 195.3 kB / 41.7 MB, free: 7.141 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.396/1.396, allocations: 222.9 MB / 269.6 MB, free: 6.883 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.13/0.13, allocations: 23.35 MB / 347.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 115.8 kB / 480.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3169, allocations: 59.35 MB / 0.5274 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.SimpleRespiration): time 0.07497/0.3919, allocations: 76.11 MB / 0.6018 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03377/0.4257, allocations: 32.17 MB / 0.6332 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.4269, allocations: 31.88 kB / 0.6332 GB, free: 7.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.4291, allocations: 0.779 MB / 0.634 GB, free: 6.559 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008726/0.4378, allocations: 3.58 MB / 0.6375 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009952/0.4478, allocations: 4.084 MB / 0.6414 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003615/0.4515, allocations: 2.989 MB / 0.6444 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.4535, allocations: 1.615 MB / 0.6459 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008242/0.4617, allocations: 4.548 MB / 0.6504 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005728/0.4675, allocations: 2.205 MB / 0.6525 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.4678, allocations: 140 kB / 0.6527 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.4802, allocations: 5.026 MB / 0.6576 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.4826, allocations: 2.284 MB / 0.6598 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.4854, allocations: 2.741 MB / 0.6625 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5045, allocations: 11 MB / 0.6732 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5045, allocations: 0 / 0.6732 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5045, allocations: 3.938 kB / 0.6732 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.758e-05/0.5046, allocations: 0 / 0.6732 GB, free: 14.29 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 9.399/9.904, allocations: 1.527 GB / 2.2 GB, free: 91.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/9.904, allocations: 8.031 kB / 2.2 GB, free: 91.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/9.907, allocations: 0.7445 MB / 2.201 GB, free: 90.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/9.923, allocations: 19.04 MB / 2.219 GB, free: 72.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/9.923, allocations: 97.56 kB / 2.219 GB, free: 71.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000962/9.924, allocations: 116 kB / 2.22 GB, free: 71.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/9.935, allocations: 7.654 MB / 2.227 GB, free: 64.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/9.935, allocations: 0 / 2.227 GB, free: 64.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007554/9.936, allocations: 44 kB / 2.227 GB, free: 64.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/9.936, allocations: 82.06 kB / 2.227 GB, free: 63.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/9.952, allocations: 10.82 MB / 2.238 GB, free: 53.1 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.05223/10, allocations: 28.94 MB / 2.266 GB, free: 23.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008862/10.01, allocations: 5.064 MB / 2.271 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006777/10.02, allocations: 4.379 MB / 2.275 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/10.04, allocations: 8.568 MB / 2.284 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/10.04, allocations: 43.56 kB / 2.284 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002134/10.04, allocations: 425.3 kB / 2.284 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 6.171e-06/10.04, allocations: 0 / 2.284 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.2675/10.31, allocations: 14.66 MB / 2.298 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/10.31, allocations: 65.44 kB / 2.298 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02778/10.33, allocations: 31.25 MB / 2.329 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/10.33, allocations: 45.7 kB / 2.329 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/10.34, allocations: 1.583 MB / 2.33 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/10.34, allocations: 0.5441 MB / 2.331 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006096/10.34, allocations: 4.238 MB / 2.335 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/10.34, allocations: 301.1 kB / 2.335 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02247/10.37, allocations: 28.03 MB / 2.363 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02535/10.39, allocations: 29.22 MB / 2.391 GB, free: 122.8 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 Error: Internal error SimCode DAEmode: The model Physiolibrary.Fluid.Examples.SimpleRespiration could not be translated