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.08483/0.08483, allocations: 15.29 MB / 30.4 MB, free: 4.371 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.0009489/0.000949, allocations: 103.3 kB / 35.37 MB, free: 3.449 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.001132/0.001133, allocations: 197.1 kB / 40.46 MB, free: 7.543 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.327/1.327, allocations: 222.9 MB / 268.3 MB, free: 6.523 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1201/0.1201, allocations: 23.34 MB / 346 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 103.8 kB / 417.5 MB, free: 30.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09255, allocations: 59.36 MB / 476.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.2849/0.3775, allocations: 138.8 MB / 0.6012 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07186/0.4494, allocations: 68.71 MB / 0.6683 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005993/0.4554, allocations: 123.2 kB / 0.6685 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.4591, allocations: 1.239 MB / 0.6697 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0194/0.4786, allocations: 7.449 MB / 0.6769 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01534/0.494, allocations: 6.832 MB / 0.6836 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.5056, allocations: 12.38 MB / 0.6957 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01696/0.5226, allocations: 15.56 MB / 0.7109 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186/1.708, allocations: 80.41 MB / 0.7894 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3776/2.086, allocations: 37.44 MB / 0.826 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003902/2.09, allocations: 1.016 MB / 0.827 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.116/5.206, allocations: 239.7 MB / 1.061 GB, free: 99.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006957/5.213, allocations: 9.255 MB / 1.07 GB, free: 93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01202/5.225, allocations: 10.04 MB / 1.08 GB, free: 85.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03915/5.264, allocations: 42.61 MB / 1.122 GB, free: 53.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/5.264, allocations: 0 / 1.122 GB, free: 53.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/5.264, allocations: 0 / 1.122 GB, free: 53.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005442/5.264, allocations: 0 / 1.122 GB, free: 53.66 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 8.312/13.58, allocations: 1.542 GB / 2.663 GB, free: 22.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/13.58, allocations: 8.594 kB / 2.663 GB, free: 22.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/13.59, allocations: 2.078 MB / 2.665 GB, free: 20.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3793/13.97, allocations: 27.9 MB / 2.693 GB, free: 274.9 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/13.97, allocations: 1.134 MB / 2.694 GB, free: 274.4 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006722/13.97, allocations: 1.092 MB / 2.695 GB, free: 274 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0601/14.03, allocations: 37.5 MB / 2.731 GB, free: 256.8 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003742/14.03, allocations: 58.95 kB / 2.731 GB, free: 256.8 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005053/14.04, allocations: 427.1 kB / 2.732 GB, free: 256.5 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/14.04, allocations: 0.5289 MB / 2.732 GB, free: 256.4 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0736/14.11, allocations: 59.56 MB / 2.79 GB, free: 204.3 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.1653/14.28, allocations: 128.5 MB / 2.916 GB, free: 72.39 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02959/14.31, allocations: 26.51 MB / 2.942 GB, free: 45.74 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02237/14.33, allocations: 20.11 MB / 2.961 GB, free: 25.62 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2675/14.6, allocations: 59.58 MB / 3.02 GB, free: 247.2 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/14.6, allocations: 141.4 kB / 3.02 GB, free: 247 MB / 0.6545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01222/14.61, allocations: 4.245 MB / 3.024 GB, free: 246.2 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1227): time 4.044e-05/14.61, allocations: 3.938 kB / 3.024 GB, free: 246.2 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1227): time 0.1023/14.71, allocations: 61.09 MB / 3.084 GB, free: 210.8 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/14.71, allocations: 151.3 kB / 3.084 GB, free: 210.6 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03242/14.75, allocations: 39.33 MB / 3.122 GB, free: 171.3 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.003486/14.75, allocations: 207 kB / 3.122 GB, free: 171.1 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003986/14.75, allocations: 5.417 MB / 3.128 GB, free: 165.8 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00612/14.76, allocations: 4.406 MB / 3.132 GB, free: 161.5 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00983/14.77, allocations: 6.78 MB / 3.139 GB, free: 154.7 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 3.64e-05/14.77, allocations: 301.1 kB / 3.139 GB, free: 154.4 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03569/14.8, allocations: 42.42 MB / 3.18 GB, free: 111.9 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0414/14.85, allocations: 46.66 MB / 3.226 GB, free: 64 MB / 0.6545 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Error: No system for the symbolic initialization was generated