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.09489/0.09489, allocations: 15.28 MB / 30.91 MB, free: 4.273 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.001249/0.001249, allocations: 103.9 kB / 35.92 MB, free: 3.156 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.001388/0.001388, allocations: 195.6 kB / 41.02 MB, free: 7.18 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 / 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.134/0.134, allocations: 23.36 MB / 346.6 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 112.4 kB / 478.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2908, allocations: 59.35 MB / 0.5253 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Respiration): time 0.1643/0.4551, allocations: 169.4 MB / 0.6907 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.3755/0.8306, allocations: 89.11 MB / 0.7778 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.8335, allocations: 61.41 kB / 0.7778 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.8375, allocations: 1.575 MB / 0.7794 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02049/0.8581, allocations: 8.795 MB / 0.788 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02416/0.8823, allocations: 10.72 MB / 0.7984 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008029/0.8904, allocations: 7.075 MB / 0.8053 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004899/0.8953, allocations: 3.89 MB / 0.8091 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01907/0.9144, allocations: 10.58 MB / 0.8195 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0167/0.9311, allocations: 5.647 MB / 0.825 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.9325, allocations: 426.5 kB / 0.8254 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03444/0.9669, allocations: 12.51 MB / 0.8376 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004203/0.9711, allocations: 3.415 MB / 0.8409 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007225/0.9784, allocations: 4.386 MB / 0.8452 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04889/1.027, allocations: 21.82 MB / 0.8665 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.027, allocations: 3.938 kB / 0.8665 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/1.027, allocations: 0 / 0.8665 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003011/1.028, allocations: 0 / 0.8665 GB, free: 7.402 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.47/11.5, allocations: 1.53 GB / 2.397 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/11.5, allocations: 12.02 kB / 2.397 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001299/11.5, allocations: 460.2 kB / 2.397 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/11.51, allocations: 1.279 MB / 2.399 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2846/11.79, allocations: 43.46 MB / 2.441 GB, free: 319.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/11.79, allocations: 254.2 kB / 2.441 GB, free: 319 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/11.79, allocations: 317.8 kB / 2.442 GB, free: 318.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/11.81, allocations: 11.4 MB / 2.453 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.55e-05/11.81, allocations: 7.938 kB / 2.453 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009811/11.81, allocations: 132 kB / 2.453 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005909/11.81, allocations: 229.9 kB / 2.453 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/11.83, allocations: 15.6 MB / 2.468 GB, free: 296.9 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.07468/11.91, allocations: 42.13 MB / 2.51 GB, free: 254.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/11.92, allocations: 7.592 MB / 2.517 GB, free: 247.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00789/11.93, allocations: 5.857 MB / 2.523 GB, free: 241.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/11.96, allocations: 16.94 MB / 2.539 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/11.96, allocations: 60.77 kB / 2.539 GB, free: 224 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003921/11.96, allocations: 0.6902 MB / 2.54 GB, free: 223.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=309): time 9.708e-06/11.96, allocations: 0 / 2.54 GB, free: 223.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=309): time 0.04302/12, allocations: 20.97 MB / 2.56 GB, free: 202.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/12, allocations: 85.59 kB / 2.56 GB, free: 202.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04192/12.05, allocations: 56.09 MB / 2.615 GB, free: 146.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001903/12.05, allocations: 77.7 kB / 2.615 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/12.05, allocations: 3.154 MB / 2.618 GB, free: 143 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/12.05, allocations: 1.056 MB / 2.619 GB, free: 142 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003533/12.05, allocations: 2.433 MB / 2.622 GB, free: 139.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/12.05, allocations: 301.1 kB / 2.622 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/12.07, allocations: 9.357 MB / 2.631 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/12.08, allocations: 10.67 MB / 2.642 GB, free: 118.8 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