Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest.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.Organs.Lungs.Examples.LungsTest,fileNamePrefix="Physiolibrary_Physiolibrary_Organs_Lungs_Examples_LungsTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Organs.Lungs.Examples.LungsTest,fileNamePrefix="Physiolibrary_Physiolibrary_Organs_Lungs_Examples_LungsTest",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.09827/0.09827, allocations: 15.29 MB / 30.41 MB, free: 4.371 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.001022/0.001022, allocations: 102.3 kB / 35.38 MB, free: 3.453 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.001186/0.001186, allocations: 197.1 kB / 40.46 MB, free: 7.543 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.342/1.342, allocations: 222.9 MB / 268.3 MB, free: 7.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1374/0.1374, allocations: 23.35 MB / 346 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 103.8 kB / 417.6 MB, free: 30.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1129, allocations: 59.36 MB / 476.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.3321/0.445, allocations: 138.9 MB / 0.6013 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08054/0.5256, allocations: 68.71 MB / 0.6684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007567/0.5332, allocations: 127.2 kB / 0.6686 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.5381, allocations: 1.247 MB / 0.6698 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02072/0.5589, allocations: 7.437 MB / 0.677 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01654/0.5754, allocations: 6.848 MB / 0.6837 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.5894, allocations: 12.36 MB / 0.6958 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/0.6098, allocations: 15.55 MB / 0.711 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.173/1.783, allocations: 80.41 MB / 0.7895 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3806/2.163, allocations: 37.43 MB / 0.8261 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003495/2.167, allocations: 1.023 MB / 0.8271 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.174/5.34, allocations: 239.7 MB / 1.061 GB, free: 100 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00786/5.348, allocations: 9.245 MB / 1.07 GB, free: 93.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.015/5.363, allocations: 10.12 MB / 1.08 GB, free: 86.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.04667/5.41, allocations: 42.84 MB / 1.122 GB, free: 53.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/5.41, allocations: 3.281 kB / 1.122 GB, free: 53.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/5.41, allocations: 0 / 1.122 GB, free: 53.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0007373/5.411, allocations: 0 / 1.122 GB, free: 53.64 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 8.47/13.88, allocations: 1.542 GB / 2.664 GB, free: 20.64 MB / 0.6545 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/13.88, allocations: 12.59 kB / 2.664 GB, free: 20.63 MB / 0.6545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004021/13.88, allocations: 1.563 MB / 2.665 GB, free: 19.05 MB / 0.6545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/13.89, allocations: 2.076 MB / 2.667 GB, free: 16.97 MB / 0.6545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2221/14.11, allocations: 51.06 MB / 2.717 GB, free: 268.6 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007651/14.11, allocations: 1.134 MB / 2.718 GB, free: 268.1 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004795/14.12, allocations: 1.093 MB / 2.719 GB, free: 267.7 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05043/14.17, allocations: 37.49 MB / 2.756 GB, free: 237.6 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/14.17, allocations: 57.22 kB / 2.756 GB, free: 237.6 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002325/14.17, allocations: 424 kB / 2.756 GB, free: 237.2 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/14.17, allocations: 0.5354 MB / 2.757 GB, free: 236.6 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06606/14.24, allocations: 59.56 MB / 2.815 GB, free: 177 MB / 0.6545 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.1769/14.42, allocations: 128.8 MB / 2.941 GB, free: 44.82 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03242/14.45, allocations: 26.52 MB / 2.967 GB, free: 18.16 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2149/14.66, allocations: 20.1 MB / 2.986 GB, free: 261.5 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07297/14.74, allocations: 59.76 MB / 3.045 GB, free: 232.6 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/14.74, allocations: 138 kB / 3.045 GB, free: 232.5 MB / 0.6545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0103/14.75, allocations: 4.247 MB / 3.049 GB, free: 230.7 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1227): time 1.835e-05/14.75, allocations: 0.7031 kB / 3.049 GB, free: 230.7 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1227): time 0.09153/14.84, allocations: 61.1 MB / 3.109 GB, free: 182.9 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/14.84, allocations: 155.3 kB / 3.109 GB, free: 182.7 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04484/14.88, allocations: 62.97 MB / 3.17 GB, free: 119.8 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.003263/14.89, allocations: 202.8 kB / 3.171 GB, free: 119.6 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003304/14.89, allocations: 6.182 MB / 3.177 GB, free: 113.4 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004247/14.89, allocations: 4.242 MB / 3.181 GB, free: 109.2 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006451/14.9, allocations: 4.465 MB / 3.185 GB, free: 104.8 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 3.006e-05/14.9, allocations: 305.1 kB / 3.185 GB, free: 104.4 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02145/14.92, allocations: 22.43 MB / 3.207 GB, free: 82 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0238/14.95, allocations: 26.17 MB / 3.233 GB, free: 54.55 MB / 0.6545 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated