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-master/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-master/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-master/package.mo): time 0.08429/0.08429, allocations: 15.27 MB / 30.51 MB, free: 4.344 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.0009531/0.0009532, allocations: 107.1 kB / 35.48 MB, free: 3.391 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: 200.5 kB / 40.58 MB, free: 7.453 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.362/1.362, allocations: 222.9 MB / 268.4 MB, free: 7.543 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1326/0.1326, allocations: 23.36 MB / 346.1 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 104.3 kB / 417.7 MB, free: 30.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1259, allocations: 59.38 MB / 477 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.2907/0.4166, allocations: 137 MB / 0.5997 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06805/0.4847, allocations: 67.51 MB / 0.6656 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005023/0.4897, allocations: 123.2 kB / 0.6657 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.4934, allocations: 1.271 MB / 0.667 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01786/0.5113, allocations: 7.527 MB / 0.6743 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01523/0.5266, allocations: 6.955 MB / 0.6811 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.5373, allocations: 10.54 MB / 0.6914 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01801/0.5553, allocations: 17.23 MB / 0.7082 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.166/1.721, allocations: 87.28 MB / 0.7935 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3981/2.119, allocations: 41.18 MB / 0.8337 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005561/2.125, allocations: 2.223 MB / 0.8358 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.33/5.455, allocations: 257.1 MB / 1.087 GB, free: 78.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0118/5.467, allocations: 10.62 MB / 1.097 GB, free: 71.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.02232/5.489, allocations: 11.91 MB / 1.109 GB, free: 63.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.05072/5.54, allocations: 43.96 MB / 1.152 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/5.54, allocations: 0 / 1.152 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/5.54, allocations: 0 / 1.152 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0007983/5.541, allocations: 0 / 1.152 GB, free: 23.49 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 9.421/14.96, allocations: 1.54 GB / 2.692 GB, free: 3.723 MB / 0.6545 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/14.96, allocations: 8.031 kB / 2.692 GB, free: 3.715 MB / 0.6545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2255/15.19, allocations: 2.072 MB / 2.694 GB, free: 283.4 MB / 0.6545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03792/15.23, allocations: 27.91 MB / 2.722 GB, free: 275.6 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/15.23, allocations: 1.13 MB / 2.723 GB, free: 275.1 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007462/15.23, allocations: 1.087 MB / 2.724 GB, free: 274.8 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07266/15.31, allocations: 37.5 MB / 2.76 GB, free: 247 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/15.31, allocations: 51.58 kB / 2.76 GB, free: 246.9 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005861/15.31, allocations: 431.9 kB / 2.761 GB, free: 246.5 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003634/15.31, allocations: 0.5276 MB / 2.761 GB, free: 246 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08093/15.39, allocations: 59.56 MB / 2.819 GB, free: 186.4 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.1862/15.58, allocations: 128.5 MB / 2.945 GB, free: 54.49 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.031/15.61, allocations: 26.52 MB / 2.971 GB, free: 27.83 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02258/15.63, allocations: 20.11 MB / 2.99 GB, free: 7.707 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3047/15.94, allocations: 59.56 MB / 3.049 GB, free: 243 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.581e-05/15.94, allocations: 140.3 kB / 3.049 GB, free: 242.9 MB / 0.6545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01626/15.96, allocations: 3.852 MB / 3.053 GB, free: 242 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1227): time 3.655e-05/15.96, allocations: 0 / 3.053 GB, free: 242 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1227): time 0.1245/16.08, allocations: 63.52 MB / 3.115 GB, free: 191.5 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/16.08, allocations: 155.3 kB / 3.115 GB, free: 191.3 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03692/16.12, allocations: 39.33 MB / 3.153 GB, free: 152 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.003822/16.12, allocations: 201.7 kB / 3.153 GB, free: 151.8 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004184/16.12, allocations: 5.427 MB / 3.159 GB, free: 146.5 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.005785/16.13, allocations: 4.395 MB / 3.163 GB, free: 142.1 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01433/16.14, allocations: 6.861 MB / 3.17 GB, free: 135.2 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/16.14, allocations: 301.1 kB / 3.17 GB, free: 134.9 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03906/16.18, allocations: 42.73 MB / 3.212 GB, free: 92.2 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04408/16.23, allocations: 46.97 MB / 3.257 GB, free: 43.96 MB / 0.6545 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated