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.1244/0.1244, allocations: 15.28 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.001126/0.001126, allocations: 114.2 kB / 35.92 MB, free: 3.188 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.001272/0.001272, allocations: 193.1 kB / 41.02 MB, free: 7.121 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.359/1.359, allocations: 222.9 MB / 268.9 MB, free: 6.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.132/0.132, allocations: 23.35 MB / 346.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 115.8 kB / 478.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 59.35 MB / 0.5253 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Respiration): time 0.1653/0.4836, allocations: 169.4 MB / 0.6907 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4041/0.8877, allocations: 89.1 MB / 0.7778 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.8909, allocations: 65.88 kB / 0.7778 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004239/0.8951, allocations: 1.585 MB / 0.7794 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02252/0.9177, allocations: 8.916 MB / 0.7881 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02851/0.9463, allocations: 10.81 MB / 0.7986 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01253/0.9588, allocations: 7.071 MB / 0.8055 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006213/0.9651, allocations: 3.905 MB / 0.8094 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02222/0.9873, allocations: 10.64 MB / 0.8197 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01779/1.005, allocations: 5.655 MB / 0.8253 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002203/1.007, allocations: 427.9 kB / 0.8257 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04129/1.049, allocations: 12.5 MB / 0.8379 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00465/1.053, allocations: 3.421 MB / 0.8412 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00823/1.062, allocations: 4.382 MB / 0.8455 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05241/1.114, allocations: 21.91 MB / 0.8669 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.114, allocations: 0 / 0.8669 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/1.114, allocations: 0 / 0.8669 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003113/1.114, allocations: 0 / 0.8669 GB, free: 6.965 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.41/11.53, allocations: 1.531 GB / 2.398 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/11.53, allocations: 8.031 kB / 2.398 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001367/11.53, allocations: 468.2 kB / 2.398 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/11.54, allocations: 1.33 MB / 2.399 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2984/11.83, allocations: 43.49 MB / 2.442 GB, free: 319 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/11.83, allocations: 255.9 kB / 2.442 GB, free: 318.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/11.84, allocations: 317.1 kB / 2.442 GB, free: 318.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/11.86, allocations: 11.4 MB / 2.454 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/11.86, allocations: 11.88 kB / 2.454 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/11.86, allocations: 132 kB / 2.454 GB, free: 311.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005675/11.86, allocations: 237.6 kB / 2.454 GB, free: 311.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/11.88, allocations: 15.6 MB / 2.469 GB, free: 295.8 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.08012/11.96, allocations: 42.18 MB / 2.51 GB, free: 253.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/11.98, allocations: 7.602 MB / 2.518 GB, free: 246.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008147/11.98, allocations: 5.854 MB / 2.524 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03249/12.02, allocations: 16.96 MB / 2.54 GB, free: 223.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/12.02, allocations: 60.73 kB / 2.54 GB, free: 223.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003983/12.02, allocations: 0.7123 MB / 2.541 GB, free: 222.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=309): time 1.345e-05/12.02, allocations: 0 / 2.541 GB, free: 222.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=309): time 0.04639/12.07, allocations: 21.01 MB / 2.561 GB, free: 201.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/12.07, allocations: 81.55 kB / 2.561 GB, free: 201.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04169/12.11, allocations: 56.11 MB / 2.616 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002489/12.11, allocations: 77.7 kB / 2.616 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003603/12.11, allocations: 3.217 MB / 2.619 GB, free: 142.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003056/12.12, allocations: 1.11 MB / 2.621 GB, free: 141.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004291/12.12, allocations: 2.433 MB / 2.623 GB, free: 139 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/12.12, allocations: 301.1 kB / 2.623 GB, free: 138.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01174/12.13, allocations: 9.361 MB / 2.632 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/12.15, allocations: 10.67 MB / 2.643 GB, free: 118.3 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