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.08782/0.08782, allocations: 15.28 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.001169/0.001169, allocations: 105.6 kB / 35.91 MB, free: 3.199 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.001225/0.001225, allocations: 195.3 kB / 41.02 MB, free: 7.141 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.438/1.438, allocations: 222.9 MB / 268.9 MB, free: 6.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1439/0.1439, allocations: 23.36 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 115.8 kB / 478.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4243, allocations: 59.35 MB / 0.5256 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.1458/0.5702, allocations: 134.8 MB / 0.6572 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.08541/0.6556, allocations: 67.47 MB / 0.7231 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005556/0.6612, allocations: 79.69 kB / 0.7232 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00517/0.6664, allocations: 1.459 MB / 0.7246 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3371/1.004, allocations: 8.047 MB / 0.7325 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01972/1.023, allocations: 7.489 MB / 0.7398 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.038, allocations: 10.6 MB / 0.7501 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02007/1.058, allocations: 15.45 MB / 0.7652 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4165/1.475, allocations: 85.5 MB / 0.8487 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1743/1.649, allocations: 37.77 MB / 0.8856 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005901/1.655, allocations: 1.781 MB / 0.8873 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685/3.34, allocations: 254.6 MB / 1.136 GB, free: 115 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.008795/3.349, allocations: 9.824 MB / 1.146 GB, free: 108.4 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01768/3.367, allocations: 11.12 MB / 1.156 GB, free: 101.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.05152/3.418, allocations: 40.31 MB / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/3.418, allocations: 0 / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.843e-06/3.418, allocations: 0 / 1.196 GB, free: 67.8 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0006861/3.419, 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 11.18/14.6, allocations: 1.54 GB / 2.735 GB, free: 280.1 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/14.6, allocations: 8.031 kB / 2.735 GB, free: 280.1 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009598/14.61, allocations: 1.944 MB / 2.737 GB, free: 278.2 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/14.64, allocations: 27.19 MB / 2.764 GB, free: 251.1 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009094/14.64, allocations: 1.126 MB / 2.765 GB, free: 250 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005289/14.65, allocations: 1.082 MB / 2.766 GB, free: 248.9 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/14.7, allocations: 35.37 MB / 2.801 GB, free: 212.6 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000481/14.7, allocations: 87.27 kB / 2.801 GB, free: 212.5 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004718/14.71, allocations: 448.7 kB / 2.801 GB, free: 212.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/14.71, allocations: 0.6082 MB / 2.802 GB, free: 211.5 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07102/14.78, allocations: 52.3 MB / 2.853 GB, free: 159.1 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.184/14.96, allocations: 134.9 MB / 2.984 GB, free: 19.45 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3448/15.31, allocations: 24.28 MB / 3.008 GB, free: 307.4 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03036/15.34, allocations: 19.35 MB / 3.027 GB, free: 299.5 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08949/15.43, allocations: 57.24 MB / 3.083 GB, free: 265.4 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.437e-05/15.43, allocations: 128.2 kB / 3.083 GB, free: 265.2 MB / 0.7483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01113/15.44, allocations: 2.173 MB / 3.085 GB, free: 264.2 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=1141): time 5.026e-05/15.44, allocations: 0 / 3.085 GB, free: 264.2 MB / 0.7483 GB Notification: Performance of matching and sorting (n=1141): time 0.1173/15.56, allocations: 60.07 MB / 3.144 GB, free: 212.6 MB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/15.56, allocations: 142.7 kB / 3.144 GB, free: 212.5 MB / 0.7483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04015/15.6, allocations: 39.33 MB / 3.182 GB, free: 173.2 MB / 0.7483 GB Notification: Performance of collectPreVariables (initialization): time 0.003901/15.6, allocations: 194.6 kB / 3.183 GB, free: 173 MB / 0.7483 GB Notification: Performance of collectInitialEqns (initialization): time 0.004944/15.61, allocations: 5.524 MB / 3.188 GB, free: 167.6 MB / 0.7483 GB Notification: Performance of collectInitialBindings (initialization): time 0.007071/15.61, allocations: 4.113 MB / 3.192 GB, free: 163.5 MB / 0.7483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01873/15.63, allocations: 6.683 MB / 3.199 GB, free: 156.8 MB / 0.7483 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/15.63, allocations: 301.1 kB / 3.199 GB, free: 156.5 MB / 0.7483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04133/15.67, allocations: 42.06 MB / 3.24 GB, free: 114.4 MB / 0.7483 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04444/15.72, allocations: 46.25 MB / 3.285 GB, free: 66.92 MB / 0.7483 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated