Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration.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.MinimalRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration") translateModel(Physiolibrary.Fluid.Examples.MinimalRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08416/0.08416, 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.000991/0.000991, allocations: 110.7 kB / 36.59 MB, free: 3.172 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.001214/0.001214, allocations: 193.1 kB / 41.7 MB, free: 7.133 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.402/1.402, allocations: 222.9 MB / 269.6 MB, free: 6.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1324/0.1324, allocations: 23.36 MB / 347.3 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 111.8 kB / 480.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2835, allocations: 59.35 MB / 0.5274 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MinimalRespiration): time 0.04407/0.3276, allocations: 47.49 MB / 0.5738 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.3478, allocations: 20 MB / 0.5933 GB, free: 352 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.3483, allocations: 11.94 kB / 0.5933 GB, free: 340 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.3494, allocations: 314.2 kB / 0.5936 GB, free: 24 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.3541, allocations: 2.266 MB / 0.5958 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.3574, allocations: 1.471 MB / 0.5973 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3589, allocations: 1.593 MB / 0.5988 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.36, allocations: 0.9482 MB / 0.5997 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.3644, allocations: 2.57 MB / 0.6023 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.3653, allocations: 0.9156 MB / 0.6032 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3654, allocations: 56 kB / 0.6032 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00596/0.3714, allocations: 2.756 MB / 0.6059 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.3731, allocations: 2 MB / 0.6078 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.3747, allocations: 2.255 MB / 0.6101 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008476/0.3832, allocations: 7.525 MB / 0.6174 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3832, allocations: 0 / 0.6174 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3832, allocations: 0 / 0.6174 GB, free: 7.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.3833, allocations: 0 / 0.6174 GB, free: 7.543 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 9.239/9.622, allocations: 1.526 GB / 2.143 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/9.623, allocations: 8.031 kB / 2.143 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/9.625, allocations: 0.4924 MB / 2.144 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/9.644, allocations: 26.33 MB / 2.169 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/9.645, allocations: 41 kB / 2.169 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/9.646, allocations: 48 kB / 2.169 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009709/9.656, allocations: 6.35 MB / 2.176 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/9.656, allocations: 7.938 kB / 2.176 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007511/9.657, allocations: 23.94 kB / 2.176 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/9.657, allocations: 12 kB / 2.176 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/9.669, allocations: 9.038 MB / 2.184 GB, free: 129.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.04133/9.711, allocations: 27.64 MB / 2.211 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/9.718, allocations: 4.097 MB / 2.215 GB, free: 97.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005913/9.724, allocations: 3.889 MB / 2.219 GB, free: 93.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/9.724, allocations: 28.08 kB / 2.219 GB, free: 93.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/9.724, allocations: 34.89 kB / 2.219 GB, free: 93.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.978e-06/9.724, allocations: 4 kB / 2.219 GB, free: 93.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.0236/9.748, allocations: 13.17 MB / 2.232 GB, free: 79.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/9.748, allocations: 59.41 kB / 2.232 GB, free: 79.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03352/9.781, allocations: 42.8 MB / 2.274 GB, free: 37.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/9.783, allocations: 29.7 kB / 2.274 GB, free: 37.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/9.785, allocations: 1.293 MB / 2.275 GB, free: 35.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/9.786, allocations: 333.2 kB / 2.276 GB, free: 35.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008561/9.795, allocations: 4.072 MB / 2.28 GB, free: 31.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001225/9.795, allocations: 357.9 kB / 2.28 GB, free: 31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2438/10.04, allocations: 35.84 MB / 2.315 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03215/10.07, allocations: 36.81 MB / 2.351 GB, free: 181.2 MB / 0.5919 GB Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model Physiolibrary.Fluid.Examples.MinimalRespiration could not be translated