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.09195/0.09195, allocations: 15.29 MB / 30.79 MB, free: 4.207 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.001517/0.001517, allocations: 104.2 kB / 35.77 MB, free: 3.227 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.002091/0.002091, allocations: 193.1 kB / 40.88 MB, free: 7.227 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.439/1.439, allocations: 222.9 MB / 268.7 MB, free: 6.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1395/0.1395, allocations: 23.35 MB / 346.4 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 107.8 kB / 418.3 MB, free: 30.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.0945, allocations: 59.36 MB / 477.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.3173/0.4118, allocations: 134.8 MB / 0.5981 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07939/0.4913, allocations: 67.45 MB / 0.664 GB, free: 480 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.4958, allocations: 83.69 kB / 0.6641 GB, free: 396 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.5003, allocations: 1.467 MB / 0.6655 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02103/0.5214, allocations: 8.06 MB / 0.6734 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01751/0.539, allocations: 7.494 MB / 0.6807 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01217/0.5512, allocations: 10.54 MB / 0.691 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02314/0.5743, allocations: 15.44 MB / 0.7061 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7046/1.279, allocations: 84.88 MB / 0.7889 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1757/1.455, allocations: 37.61 MB / 0.8257 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005568/1.46, allocations: 1.789 MB / 0.8274 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609/3.069, allocations: 252.8 MB / 1.074 GB, free: 87.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008308/3.078, allocations: 9.837 MB / 1.084 GB, free: 80.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01533/3.093, allocations: 11.24 MB / 1.095 GB, free: 73.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.04215/3.135, allocations: 40.36 MB / 1.134 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/3.135, allocations: 0 / 1.134 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.735e-06/3.135, allocations: 0 / 1.134 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0009101/3.136, allocations: 3.938 kB / 1.134 GB, free: 37.57 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 11.13/14.27, allocations: 1.539 GB / 2.673 GB, free: 30.8 MB / 0.6545 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/14.27, allocations: 12.03 kB / 2.673 GB, free: 30.79 MB / 0.6545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00764/14.28, allocations: 1.554 MB / 2.675 GB, free: 29.22 MB / 0.6545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/14.29, allocations: 2.082 MB / 2.677 GB, free: 27.12 MB / 0.6545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3654/14.66, allocations: 50.3 MB / 2.726 GB, free: 274.6 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001302/14.66, allocations: 1.13 MB / 2.727 GB, free: 274.1 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007319/14.66, allocations: 1.094 MB / 2.728 GB, free: 273.7 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06926/14.73, allocations: 35.43 MB / 2.763 GB, free: 252.6 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006103/14.73, allocations: 80.27 kB / 2.763 GB, free: 252.5 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00707/14.74, allocations: 444 kB / 2.763 GB, free: 252 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004195/14.74, allocations: 0.5419 MB / 2.764 GB, free: 251.5 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08061/14.82, allocations: 52.31 MB / 2.815 GB, free: 199.2 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.1934/15.02, allocations: 135.6 MB / 2.947 GB, free: 59.51 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03077/15.05, allocations: 24.29 MB / 2.971 GB, free: 35.22 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02447/15.07, allocations: 19.34 MB / 2.99 GB, free: 15.88 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4011/15.47, allocations: 57.41 MB / 3.046 GB, free: 249.1 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/15.47, allocations: 131.8 kB / 3.046 GB, free: 249 MB / 0.6545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01182/15.48, allocations: 2.171 MB / 3.048 GB, free: 248.2 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1141): time 3.8e-05/15.48, allocations: 0 / 3.048 GB, free: 248.2 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1141): time 0.1241/15.61, allocations: 60.06 MB / 3.107 GB, free: 208.9 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/15.61, allocations: 146.7 kB / 3.107 GB, free: 208.8 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06004/15.67, allocations: 62.97 MB / 3.168 GB, free: 145.8 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.004281/15.67, allocations: 193.7 kB / 3.168 GB, free: 145.6 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005858/15.68, allocations: 6.276 MB / 3.175 GB, free: 139.4 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.006898/15.69, allocations: 3.961 MB / 3.178 GB, free: 135.5 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01623/15.7, allocations: 4.366 MB / 3.183 GB, free: 131.1 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/15.7, allocations: 309 kB / 3.183 GB, free: 130.8 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03011/15.73, allocations: 22.06 MB / 3.205 GB, free: 108.7 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03269/15.76, allocations: 25.76 MB / 3.23 GB, free: 81.7 MB / 0.6545 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated