Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Respiration.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: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Respiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Respiration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Respiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Respiration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1079/0.1079, allocations: 15.28 MB / 30.9 MB, free: 4.16 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.001014/0.001014, allocations: 109.9 kB / 35.91 MB, free: 3.195 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.001248/0.001248, allocations: 190 kB / 41 MB, free: 7.148 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.398/1.398, allocations: 222.9 MB / 268.9 MB, free: 6.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1572/0.1572, allocations: 23.35 MB / 346.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 115.8 kB / 478.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 59.35 MB / 0.5253 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Respiration): time 0.1684/0.5056, allocations: 169.4 MB / 0.6907 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4008/0.9064, allocations: 89.11 MB / 0.7777 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.9096, allocations: 63.62 kB / 0.7778 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.9139, allocations: 1.579 MB / 0.7794 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.9363, allocations: 8.79 MB / 0.7879 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02711/0.9634, allocations: 10.72 MB / 0.7984 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008915/0.9724, allocations: 7.074 MB / 0.8053 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005519/0.9779, allocations: 3.901 MB / 0.8091 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02107/0.999, allocations: 10.61 MB / 0.8195 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01701/1.016, allocations: 5.645 MB / 0.825 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/1.018, allocations: 429.7 kB / 0.8254 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03565/1.054, allocations: 12.5 MB / 0.8376 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004822/1.058, allocations: 3.423 MB / 0.841 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008374/1.067, allocations: 4.379 MB / 0.8452 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05209/1.119, allocations: 21.83 MB / 0.8666 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.119, allocations: 0 / 0.8666 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/1.119, allocations: 0 / 0.8666 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003067/1.119, allocations: 4 kB / 0.8666 GB, free: 7.359 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 10.61/11.73, allocations: 1.53 GB / 2.397 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/11.73, allocations: 8.031 kB / 2.397 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001788/11.74, allocations: 464.2 kB / 2.397 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/11.74, allocations: 1.281 MB / 2.399 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3745/12.12, allocations: 43.45 MB / 2.441 GB, free: 319 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/12.12, allocations: 257.6 kB / 2.441 GB, free: 318.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/12.12, allocations: 320.7 kB / 2.442 GB, free: 318.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/12.14, allocations: 11.4 MB / 2.453 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/12.14, allocations: 7.938 kB / 2.453 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008848/12.14, allocations: 135.8 kB / 2.453 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005518/12.14, allocations: 233.9 kB / 2.453 GB, free: 312.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/12.16, allocations: 15.6 MB / 2.468 GB, free: 296.6 MB / 0.7325 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.08586/12.25, allocations: 42.13 MB / 2.51 GB, free: 254.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/12.26, allocations: 7.602 MB / 2.517 GB, free: 246.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007673/12.27, allocations: 5.85 MB / 2.523 GB, free: 241 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03089/12.3, allocations: 16.95 MB / 2.539 GB, free: 223.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/12.3, allocations: 64.7 kB / 2.539 GB, free: 223.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003737/12.3, allocations: 0.6896 MB / 2.54 GB, free: 223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=309): time 1.22e-05/12.3, allocations: 0 / 2.54 GB, free: 223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=309): time 0.04316/12.35, allocations: 20.97 MB / 2.56 GB, free: 202 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/12.35, allocations: 77.61 kB / 2.56 GB, free: 201.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04372/12.39, allocations: 56.09 MB / 2.615 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002242/12.39, allocations: 77.7 kB / 2.615 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/12.4, allocations: 3.152 MB / 2.618 GB, free: 142.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00218/12.4, allocations: 1.061 MB / 2.619 GB, free: 141.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004211/12.4, allocations: 2.425 MB / 2.622 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/12.4, allocations: 313 kB / 2.622 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/12.41, allocations: 9.357 MB / 2.631 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01268/12.43, allocations: 10.66 MB / 2.642 GB, free: 118.5 MB / 0.7325 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Error: No system for the symbolic initialization was generated