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.1023/0.1023, allocations: 15.28 MB / 31.59 MB, free: 4.137 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.001053/0.001053, allocations: 96.52 kB / 36.58 MB, free: 3.184 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.001256/0.001256, allocations: 191.3 kB / 41.69 MB, free: 7.145 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.491/1.491, allocations: 222.9 MB / 269.6 MB, free: 6.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1441/0.1441, allocations: 23.35 MB / 347.2 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 107.8 kB / 479.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3744, allocations: 59.36 MB / 0.5262 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.1344/0.5088, allocations: 134.8 MB / 0.6579 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0782/0.587, allocations: 67.47 MB / 0.7238 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005046/0.5921, allocations: 75.75 kB / 0.7238 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/0.5965, allocations: 1.471 MB / 0.7253 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3719/0.9685, allocations: 8.193 MB / 0.7333 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01884/0.9873, allocations: 7.539 MB / 0.7406 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01597/1.003, allocations: 10.6 MB / 0.751 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02199/1.025, allocations: 15.44 MB / 0.7661 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4123/1.438, allocations: 85.52 MB / 0.8496 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1699/1.608, allocations: 37.77 MB / 0.8865 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005251/1.613, allocations: 1.777 MB / 0.8882 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646/3.259, allocations: 254.6 MB / 1.137 GB, free: 114.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009366/3.269, allocations: 9.824 MB / 1.146 GB, free: 108.2 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01862/3.287, allocations: 11.12 MB / 1.157 GB, free: 101.3 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.05106/3.339, allocations: 40.31 MB / 1.197 GB, free: 67.58 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/3.339, allocations: 0 / 1.197 GB, free: 67.58 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.763e-06/3.339, allocations: 0 / 1.197 GB, free: 67.58 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0007574/3.339, allocations: 0 / 1.197 GB, free: 67.58 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.25/14.59, allocations: 1.54 GB / 2.736 GB, free: 279.6 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/14.59, allocations: 8.031 kB / 2.736 GB, free: 279.6 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/14.6, allocations: 1.944 MB / 2.738 GB, free: 277.7 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03512/14.63, allocations: 27.19 MB / 2.765 GB, free: 250.6 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/14.64, allocations: 1.13 MB / 2.766 GB, free: 249.5 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007521/14.64, allocations: 1.087 MB / 2.767 GB, free: 248.4 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06853/14.71, allocations: 35.37 MB / 2.801 GB, free: 212.1 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006024/14.71, allocations: 83.83 kB / 2.802 GB, free: 212 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006215/14.72, allocations: 453.1 kB / 2.802 GB, free: 211.6 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006277/14.72, allocations: 0.6082 MB / 2.803 GB, free: 211 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07714/14.8, allocations: 52.31 MB / 2.854 GB, free: 158.6 MB / 0.7482 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.1918/14.99, allocations: 134.9 MB / 2.985 GB, free: 18.94 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5946/15.58, allocations: 24.28 MB / 3.009 GB, free: 308.4 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03317/15.62, allocations: 19.36 MB / 3.028 GB, free: 300.2 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08855/15.7, allocations: 57.23 MB / 3.084 GB, free: 265.8 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/15.7, allocations: 127.5 kB / 3.084 GB, free: 265.7 MB / 0.7483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01126/15.72, allocations: 2.174 MB / 3.086 GB, free: 264.6 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=1141): time 4.87e-05/15.72, allocations: 384 / 3.086 GB, free: 264.6 MB / 0.7483 GB Notification: Performance of matching and sorting (n=1141): time 0.1307/15.85, allocations: 60.06 MB / 3.145 GB, free: 212.6 MB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/15.85, allocations: 142.7 kB / 3.145 GB, free: 212.4 MB / 0.7483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04344/15.89, allocations: 39.33 MB / 3.183 GB, free: 173.1 MB / 0.7483 GB Notification: Performance of collectPreVariables (initialization): time 0.004154/15.89, allocations: 193.7 kB / 3.183 GB, free: 172.9 MB / 0.7483 GB Notification: Performance of collectInitialEqns (initialization): time 0.00501/15.9, allocations: 5.528 MB / 3.189 GB, free: 167.5 MB / 0.7483 GB Notification: Performance of collectInitialBindings (initialization): time 0.006732/15.91, allocations: 4.118 MB / 3.193 GB, free: 163.4 MB / 0.7483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01895/15.92, allocations: 6.675 MB / 3.199 GB, free: 156.7 MB / 0.7483 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/15.92, allocations: 301.1 kB / 3.2 GB, free: 156.4 MB / 0.7483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04312/15.97, allocations: 42.06 MB / 3.241 GB, free: 114.4 MB / 0.7483 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04954/16.02, allocations: 46.25 MB / 3.286 GB, free: 66.86 MB / 0.7483 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated