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: translateModel(Physiolibrary.Organs.Lungs.Examples.LungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest") translateModel(Physiolibrary.Organs.Lungs.Examples.LungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08201/0.08201, allocations: 15.28 MB / 31.59 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.001065/0.001065, allocations: 100.5 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.001152/0.001152, allocations: 193.1 kB / 41.7 MB, free: 7.129 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.363/1.363, allocations: 222.9 MB / 269.6 MB, free: 6.934 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.128/0.128, allocations: 23.35 MB / 347.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 115.8 kB / 479.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3008, allocations: 59.35 MB / 0.5262 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.1267/0.4276, allocations: 134.8 MB / 0.6579 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.07593/0.5035, allocations: 67.47 MB / 0.7238 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.5074, allocations: 79.69 kB / 0.7239 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.5111, allocations: 1.455 MB / 0.7253 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.27/0.7811, allocations: 8.045 MB / 0.7331 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01759/0.7988, allocations: 7.496 MB / 0.7405 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.8115, allocations: 10.59 MB / 0.7508 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/0.8284, allocations: 15.46 MB / 0.7659 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4248/1.253, allocations: 85.51 MB / 0.8494 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1779/1.431, allocations: 37.77 MB / 0.8863 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0051/1.436, allocations: 1.781 MB / 0.888 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.592/3.028, allocations: 254.6 MB / 1.137 GB, free: 115.1 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.008231/3.036, allocations: 9.82 MB / 1.146 GB, free: 108.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0152/3.051, allocations: 11.12 MB / 1.157 GB, free: 101.6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.04113/3.093, allocations: 40.31 MB / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/3.093, allocations: 0 / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.383e-06/3.093, allocations: 0 / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0006172/3.093, allocations: 0 / 1.196 GB, free: 67.8 MB / 0.7481 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 9.413/12.51, allocations: 1.54 GB / 2.736 GB, free: 280.2 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/12.51, allocations: 8.031 kB / 2.736 GB, free: 280.2 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/12.51, allocations: 1.94 MB / 2.738 GB, free: 278.2 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/12.55, allocations: 27.19 MB / 2.765 GB, free: 251.2 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/12.55, allocations: 1.133 MB / 2.766 GB, free: 250 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00529/12.55, allocations: 1.083 MB / 2.767 GB, free: 248.9 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05391/12.61, allocations: 35.37 MB / 2.801 GB, free: 212.6 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004077/12.61, allocations: 83.27 kB / 2.801 GB, free: 212.5 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004022/12.61, allocations: 452.7 kB / 2.802 GB, free: 212.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005827/12.61, allocations: 0.6043 MB / 2.802 GB, free: 211.5 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07195/12.68, allocations: 52.3 MB / 2.853 GB, free: 159.2 MB / 0.7483 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.1697/12.85, allocations: 134.9 MB / 2.985 GB, free: 19.48 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2769/13.13, allocations: 24.28 MB / 3.009 GB, free: 308.3 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02711/13.16, allocations: 19.36 MB / 3.028 GB, free: 300.2 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08196/13.24, allocations: 57.24 MB / 3.084 GB, free: 265.9 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/13.24, allocations: 131 kB / 3.084 GB, free: 265.8 MB / 0.7483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009833/13.25, allocations: 2.167 MB / 3.086 GB, free: 264.7 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=1141): time 2.575e-05/13.25, allocations: 3.969 kB / 3.086 GB, free: 264.7 MB / 0.7483 GB Notification: Performance of matching and sorting (n=1141): time 0.1233/13.37, allocations: 60.05 MB / 3.145 GB, free: 213.1 MB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/13.37, allocations: 146.7 kB / 3.145 GB, free: 213 MB / 0.7483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04189/13.41, allocations: 39.33 MB / 3.183 GB, free: 173.6 MB / 0.7483 GB Notification: Performance of collectPreVariables (initialization): time 0.003943/13.42, allocations: 194.8 kB / 3.183 GB, free: 173.5 MB / 0.7483 GB Notification: Performance of collectInitialEqns (initialization): time 0.005128/13.42, allocations: 5.523 MB / 3.189 GB, free: 168 MB / 0.7483 GB Notification: Performance of collectInitialBindings (initialization): time 0.006607/13.43, allocations: 4.116 MB / 3.193 GB, free: 164 MB / 0.7483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0223/13.45, allocations: 6.679 MB / 3.199 GB, free: 157.3 MB / 0.7483 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/13.45, allocations: 301.1 kB / 3.2 GB, free: 157 MB / 0.7483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0445/13.5, allocations: 42.06 MB / 3.241 GB, free: 114.9 MB / 0.7483 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04807/13.54, allocations: 46.25 MB / 3.286 GB, free: 67.4 MB / 0.7483 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model Physiolibrary.Organs.Lungs.Examples.LungsTest could not be translated