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.1028/0.1028, allocations: 15.27 MB / 30.91 MB, free: 4.152 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.00106/0.00106, allocations: 106 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.00132/0.001321, allocations: 189.1 kB / 41.02 MB, free: 7.133 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.435/1.435, allocations: 222.9 MB / 268.9 MB, free: 6.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1424/0.1424, allocations: 23.35 MB / 346.6 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 111.8 kB / 478.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3528, allocations: 59.36 MB / 0.5251 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.1243/0.4771, allocations: 134.8 MB / 0.6567 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0787/0.5558, allocations: 67.46 MB / 0.7226 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005669/0.5616, allocations: 75.69 kB / 0.7227 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00411/0.5657, allocations: 1.475 MB / 0.7241 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3305/0.8962, allocations: 8.195 MB / 0.7321 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01758/0.9138, allocations: 7.545 MB / 0.7395 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01456/0.9284, allocations: 10.6 MB / 0.7499 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/0.9464, allocations: 15.45 MB / 0.7649 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4149/1.361, allocations: 85.54 MB / 0.8485 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1748/1.536, allocations: 37.78 MB / 0.8854 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005019/1.541, allocations: 1.777 MB / 0.8871 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.642/3.183, allocations: 254.6 MB / 1.136 GB, free: 114.4 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009873/3.193, allocations: 9.813 MB / 1.145 GB, free: 107.9 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02076/3.214, allocations: 11.21 MB / 1.156 GB, free: 100.8 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.05035/3.264, allocations: 40.66 MB / 1.196 GB, free: 66.61 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/3.264, allocations: 0 / 1.196 GB, free: 66.61 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/3.264, allocations: 0 / 1.196 GB, free: 66.61 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0007757/3.265, allocations: 0 / 1.196 GB, free: 66.61 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 10.59/13.86, allocations: 1.54 GB / 2.736 GB, free: 275.4 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/13.86, allocations: 12.03 kB / 2.736 GB, free: 275.4 MB / 0.7483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006327/13.86, allocations: 1.545 MB / 2.738 GB, free: 273.9 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/13.87, allocations: 2.039 MB / 2.74 GB, free: 271.8 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04799/13.92, allocations: 50.41 MB / 2.789 GB, free: 222.4 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/13.92, allocations: 1.129 MB / 2.79 GB, free: 221.2 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006295/13.93, allocations: 1.091 MB / 2.791 GB, free: 220.2 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05523/13.98, allocations: 35.37 MB / 2.826 GB, free: 183.8 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/13.99, allocations: 87.34 kB / 2.826 GB, free: 183.8 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003632/13.99, allocations: 440 kB / 2.826 GB, free: 183.3 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006057/13.99, allocations: 0.6121 MB / 2.827 GB, free: 182.7 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06882/14.06, allocations: 52.31 MB / 2.878 GB, free: 130.4 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.4468/14.51, allocations: 135.3 MB / 3.01 GB, free: 294.3 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03454/14.54, allocations: 24.29 MB / 3.034 GB, free: 287.9 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02376/14.56, allocations: 19.36 MB / 3.053 GB, free: 279.7 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08798/14.65, allocations: 57.45 MB / 3.109 GB, free: 241.9 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/14.65, allocations: 127 kB / 3.109 GB, free: 241.8 MB / 0.7483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00869/14.66, allocations: 2.21 MB / 3.111 GB, free: 241 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=1141): time 2.195e-05/14.66, allocations: 0 / 3.111 GB, free: 241 MB / 0.7483 GB Notification: Performance of matching and sorting (n=1141): time 0.1041/14.76, allocations: 60.13 MB / 3.17 GB, free: 180.7 MB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/14.76, allocations: 146.7 kB / 3.17 GB, free: 180.6 MB / 0.7483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05123/14.82, allocations: 63 MB / 3.231 GB, free: 117.8 MB / 0.7483 GB Notification: Performance of collectPreVariables (initialization): time 0.003869/14.82, allocations: 189.7 kB / 3.232 GB, free: 117.6 MB / 0.7483 GB Notification: Performance of collectInitialEqns (initialization): time 0.00523/14.83, allocations: 6.428 MB / 3.238 GB, free: 111.8 MB / 0.7483 GB Notification: Performance of collectInitialBindings (initialization): time 0.005944/14.83, allocations: 4.158 MB / 3.242 GB, free: 107.8 MB / 0.7483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008057/14.84, allocations: 4.368 MB / 3.246 GB, free: 103.5 MB / 0.7483 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/14.84, allocations: 301.1 kB / 3.247 GB, free: 103.2 MB / 0.7483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02454/14.86, allocations: 22.06 MB / 3.268 GB, free: 81.08 MB / 0.7483 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02809/14.89, allocations: 25.76 MB / 3.293 GB, free: 54.09 MB / 0.7483 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated