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.07652/0.07652, allocations: 15.28 MB / 30.78 MB, free: 4.082 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.0008922/0.0008922, allocations: 107.2 kB / 35.77 MB, free: 3.281 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.0009929/0.0009929, allocations: 193.1 kB / 40.88 MB, free: 7.195 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.173/1.173, allocations: 222.9 MB / 268.7 MB, free: 6.883 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1123/0.1123, allocations: 23.36 MB / 346.4 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 112.2 kB / 418.3 MB, free: 30.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.08012, allocations: 59.37 MB / 477.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.2636/0.3438, allocations: 134.8 MB / 0.5981 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0672/0.411, allocations: 67.46 MB / 0.664 GB, free: 456 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.4153, allocations: 79.69 kB / 0.6641 GB, free: 376 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003884/0.4192, allocations: 1.471 MB / 0.6655 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01758/0.4368, allocations: 8.051 MB / 0.6734 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0147/0.4516, allocations: 7.511 MB / 0.6807 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.4618, allocations: 10.53 MB / 0.691 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01799/0.4798, allocations: 15.45 MB / 0.7061 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5693/1.049, allocations: 84.88 MB / 0.789 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1565/1.206, allocations: 37.61 MB / 0.8257 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004185/1.21, allocations: 1.793 MB / 0.8274 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378/2.588, allocations: 252.8 MB / 1.074 GB, free: 87.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00719/2.595, allocations: 9.841 MB / 1.084 GB, free: 80.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01191/2.607, allocations: 11.23 MB / 1.095 GB, free: 73.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03397/2.641, allocations: 40.37 MB / 1.134 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/2.641, allocations: 0 / 1.134 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/2.641, allocations: 0 / 1.134 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004741/2.641, allocations: 0 / 1.134 GB, free: 37.5 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.638/12.28, allocations: 1.539 GB / 2.673 GB, free: 31.02 MB / 0.6545 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/12.28, allocations: 8.031 kB / 2.673 GB, free: 31.01 MB / 0.6545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005235/12.28, allocations: 1.553 MB / 2.675 GB, free: 29.44 MB / 0.6545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008784/12.29, allocations: 2.078 MB / 2.677 GB, free: 27.35 MB / 0.6545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2164/12.51, allocations: 50.31 MB / 2.726 GB, free: 274.7 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009895/12.51, allocations: 1.124 MB / 2.727 GB, free: 274.3 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005388/12.52, allocations: 1.094 MB / 2.728 GB, free: 273.9 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05343/12.57, allocations: 35.42 MB / 2.763 GB, free: 252.8 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004817/12.57, allocations: 76.27 kB / 2.763 GB, free: 252.8 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004499/12.57, allocations: 448.7 kB / 2.763 GB, free: 252.3 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003428/12.57, allocations: 0.538 MB / 2.764 GB, free: 251.8 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06421/12.64, allocations: 52.31 MB / 2.815 GB, free: 199.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.1565/12.8, allocations: 135.6 MB / 2.947 GB, free: 59.78 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02784/12.82, allocations: 24.28 MB / 2.971 GB, free: 35.49 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02051/12.84, allocations: 19.34 MB / 2.99 GB, free: 16.14 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2384/13.08, allocations: 57.41 MB / 3.046 GB, free: 249 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/13.08, allocations: 131.8 kB / 3.046 GB, free: 248.9 MB / 0.6545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009834/13.09, allocations: 2.168 MB / 3.048 GB, free: 248.2 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1141): time 2.073e-05/13.09, allocations: 0 / 3.048 GB, free: 248.2 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1141): time 0.1013/13.19, allocations: 60.06 MB / 3.107 GB, free: 209.6 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/13.19, allocations: 146.7 kB / 3.107 GB, free: 209.4 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04681/13.24, allocations: 62.97 MB / 3.168 GB, free: 146.5 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.003156/13.24, allocations: 189.7 kB / 3.168 GB, free: 146.3 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004298/13.25, allocations: 6.281 MB / 3.175 GB, free: 140.1 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004969/13.25, allocations: 3.962 MB / 3.178 GB, free: 136.1 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01177/13.27, allocations: 4.357 MB / 3.183 GB, free: 131.8 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/13.27, allocations: 308.7 kB / 3.183 GB, free: 131.5 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02547/13.29, allocations: 22.07 MB / 3.205 GB, free: 109.4 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02819/13.32, allocations: 25.76 MB / 3.23 GB, free: 82.34 MB / 0.6545 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated